An implementation of Love Letter (Board Game) with a text-based interface.
See also: Game Introduction
In this implementation, the human player plays against three agents. As shown below, p0 is the human player, while p1-3 are the agents.
[Game info] Round:5. Turn to Player 3
p2:X
p1:Δ p3:O
p0:O
- p0:O // alive
- p1:Δ // protected by Handmaid
- p2:X // dead
with CMake
$ git clone https://github.com/liu-chien/LoveLetter-BoardGame.git
$ cd LoveLetter-BoardGame
$ mkdir build && cd build
$ cmake ..
$ cmake --build .
Execute game
$ ./LoveLetter-BoardGame
Unittest
$ mkdir build && cd build
$ cmake .. -DTEST=ON
$ cmake --build .
$ ./unittest
- Ubuntu 20.04