Expand description
Abstract definitions of how a game
is played, making use of the methods
provided by the definitions in lobby::state.
Modules§
Functions§
- generate_
matchups 🔒 - lightsaber_
purchase - maybe_
pause - next_
phases - Creates an iterator over all future phases in the rounds from now up to
max_round. If you setmax_roundsvery large, this iterator will (almost) never end, so it may be a good idea to.take(n)only the firstnelements. - phases_
of_ round - Creates an iterator over the phases of this round, where
round = 1is the first round of the game. - placements
- round_
has_ completion_ phase - round_
has_ fight_ phase - round_
has_ lightsaber_ shop_ phase - round_
has_ placement_ phase - round_
has_ unit_ shop_ phase - run
- unit_
purchase