[][src]Trait neumann::Playable

pub trait Playable {
    fn play(&self);
}

Games that can be played in an interactive manner.

Required methods

fn play(&self)

Starts a REPL to play the game.

Loading content...

Implementors

impl Playable for MatrixGame[src]

fn play(&self)[src]

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.

Remarks

Values are parsed using the fasteval crate, accepting a big range of inputs.

Loading content...