[−][src]Trait bk2d::BK2D
Associated Types
type Error: Error
type Player: Player
type Action: Action + Clone
type ActionResult
type Public: Public + Clone
type Options: Default
Required methods
fn new(board: Board, options: Self::Options) -> Self
fn add_player(&mut self, p: Self::Player) -> Result<(), Self::Error>
fn current_player(&self) -> &<Self::Player as Player>::Ident
fn next_player(&mut self) -> &<Self::Player as Player>::Ident
fn start(&mut self)
fn action(
&mut self,
action: Self::Action
) -> Result<Self::ActionResult, Self::Error>
&mut self,
action: Self::Action
) -> Result<Self::ActionResult, Self::Error>