(work in progress)
This is an implementation of Mancala game in Swift for Mobile Development course.
At this point, I have no idea how to use it on macOS, so I made it using linux.
Everything is explained in this article.
To build, all you have to do is swift build
from project's directory.
To run, you just .build/debug/Mancala
At each turn, you just have to type in number of house you want to empty.
You can set any number of houses and initial seeds number for the game. Also, this game is multiplayer: by default, Mancala-Kalah is a 2-player game, but you can turn it into a merciless bloodbath by setting players to 132
You can replace current player with AI by typing "ai".