gameboard
Rust library for creating game board for text UI games. Gameboard draws board in the terminal screen, updates cells, handles user IO and allows you to concentrate on the game logic. It can be used for classic table games with board with cell: tic-tac-toe, scrabble, sudoku, or for any text UI game where you can implement game field as a cell board.
Gameboard uses termion crate for terminal input/output.
Usage
Add to your Cargo.toml
:
[dependencies]
gameboard = "0.1.0"
Game creation:
use ;
use RefCell;
use Rc;
use Key;
use ;
Here you can see more examples of usage.
License
This project is licensed under the terms of the MIT license.