[][src]Trait connect4_lib::io::GameIO

pub trait GameIO {
    fn draw_board(&self, game: &Board);
fn get_move(&self, game: &Game) -> (isize, ChipDescrip);
fn display_gameover(&self, ending: BoardState); }

Required methods

fn draw_board(&self, game: &Board)

fn get_move(&self, game: &Game) -> (isize, ChipDescrip)

fn display_gameover(&self, ending: BoardState)

Loading content...

Implementors

impl GameIO for TermIO[src]

Loading content...