pub trait Playable {
fn play(&self);
}
Games that can be played in an interactive manner.
fn play(&self)
Starts a REPL to play the game.
Loading content...Starts a REPL to play the game.
The user is asked to input a strategy, one probability at a time.
For robustness, inputs are read as weights: a renormalization is performed to obtain the mixed strategy.
Values are parsed using the fasteval crate, accepting a big range of inputs.
Loading content...