Lazza101 / bridge_movement_calculator

GNU General Public License v3.0
0 stars 0 forks source link

Movement Calculation Engine #4

Open Lazza101 opened 1 year ago

Lazza101 commented 1 year ago

Guts of the app. Likely pretty simple permutation/combination algebra at its heart, but will have different rules for different movements.

Lazza101 commented 1 year ago

To simplify the selection of movements based on the number of tables, going to copy the suggested movements of the English Bridge Union (https://www.ebu.co.uk/documents/miscellaneous/suggested-movements.pdf), which suggests Standard Howell for One Winner and Standard Mitchell for Two Winner movements, up to a maximum of 12 tables. Therefore:

  1. Hard cap the selectable number of tables at 12 for now
  2. Have user choose between one and two winners (one and two referring to the number of pairs to come out on top, one winner means one pair is the overall winner, whereas two winners has two separate "sides" of the competition, N-S pairs and E-W pairs, both of which have a winner in that individual "side" i.e. a N-S winner and an E-W winner as opposed to just a winner)
  3. Implement Standard Howell for one winner, Standard Mitchell for two winner