board.jpg

This commit is contained in:
2025-09-08 06:25:05 -06:00
parent 17ff5d9849
commit 5f70243041
2 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# candyland # candyland
Simulation of Candyland.
```bash ```bash
cmake -S . -B build cmake -S . -B build
cmake --build build cmake --build build
@@ -104,4 +106,18 @@ shortest game: 6 draws
81: 1 81: 1
``` ```
## Discussion
Our version of Candyland seems to have a key difference [rules I can find posted online](https://www.wikihow.com/Play-Candy-Land):
* Two players cannot occupy the same space. If you land on a space occupied by another player, move your piece to the next space of the same color.
This rule introduces a problem: what if there is no available space of the same color?
I decided that under such circumstances, the player does not move at all.
Furthermore, it appears there's some variety in board layout.
Here's ours, featuring two shortcuts and a split path:
![](board.jpg)
![](histo.png) ![](histo.png)

BIN
board.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB