Crate backgammon_logic[][src]

A library for playing and checking backgammon games.

backgammon_logic handles game logic such as setting up boards, checking move legality, listing possible moves, and tracking game progress.

Assumptions

All functions assume the board is ordered in a counter-clockwise manner from the current player.

Modules

board
constants
game
moves
player

Functions

init_game
init_player
rust_test_ffi