jtwedt / Climate-Conversations

an app to facilitate conversations about climate events
4 stars 2 forks source link

Mechanics of choosing questions #4

Open kdoroschak opened 7 years ago

kdoroschak commented 7 years ago

Suggestion from Rachel: don't "waste" young questions on older players

kdoroschak commented 7 years ago

Calculating the maximum # of questions

This is based on player age and the pool of possible questions.

@jtwedt @dlundquist Here's a TL;DR of what I wrote up on the plane:

Let n = #/ players m = max #/rounds p_1...p_i...p_n are the players in ascending order of age (i.e. p_1 is youngest) q_1...q_i...q_n are the numbers of questions available for the i-th player.

Bounds on possible m: q_1/n <= m <= q_1

We can find the maximum # of questions: m = min (q_1/1, q_2/2, ..., q_i/i, ... q_n/n)

Choosing q's for each person