[][src]Crate gameboard

Gameboard is a small library to create text UI for board games (like tic-tac-toe, scrabble etc.). It allows you to easily draw and update board in the terminal.

Board must be rectangular and must contain rectangular cells. Also information board is supported.

Library uses termion crate for terminal input/output.

Re-exports

pub use board::Board;
pub use board::ResourceTable;
pub use board::CellUpdates;
pub use cell::Cell;
pub use game::Game;
pub use game::GameState;
pub use game::InputListener;
pub use game::Position;
pub use info::Info;
pub use info::InfoLayout;
pub use cursor::Cursor;

Modules

board

Game board.

cell

Board cell.

cursor

Simple cursor implementation.

game

Main game object.

info

Information area.