An implementation of the strategy board game, Mancala. This program supports Player vs Player games, as well as Player vs CPU games with varying levels difficulty. Move logging is also supported, however, it is disabled within the code.
Originally created as part of CMPT 470.
CLI interface usage:
sbt "cli/run <player A> <player B>"
<player A>
: the first player name or computer difficulty<player B>
: the second player name or computer difficulty
String arguments represent a human player while integer arguments represent a computer player. The integer argument for computer players must be between 0 (easiest) and 9 (hardest) inclusive.
-h
: displays the usage
While the program is running the following actions may be made by the player:
h
orhelp
: prints out the game's help messageq
orquit
: quits the gamed
ordisplay
: displays the current game statea1
toa6
: performs the move for player A if it is validb1
tob6
: performs the move for player B if it is valid
Server interface usage:
start the websocket server:
sbt "server/run"