RowMur / office-games

Online tracker for casual games
https://office-games.rowmur.dev/
0 stars 0 forks source link

Add different game modes #8

Open RowMur opened 3 weeks ago

RowMur commented 3 weeks ago

Currently, the app only supports head to head. Want to support other kinds of games where it's a free for all. Example would be Jenga.

ELO Calculation

Free for all game's can be split into two categories:

For both of these categories, to calculate the earned or lost ELO,

Can just use the regular ELO calculation but for each combination of head to heads. For a game result which has an ordered list of players, this would be every combination of players. But, for games with set winners and losers, only the combinations between players in different categories would be calculated.

Approving

TBD how we decide when a match has been approved. In head to head it's just done as requiring one approval from each side but using the same idea for a free for all would result in long waiting times to approve free for all matches.

Count or percentage thresholds would be an option - perhaps just make this configurable by game and then it's up to the user.

RowMur commented 2 weeks ago

Not equal numbers of winners and losers are allowed now which then means games like Jenga can work - ELO calculation and all.

Only thing left on this would be allowing the ordering of players rather than a harsh winners/losers