This is a java web application that runs the game of 6-stone Kalah. For the general rules of the game please refer to Wikipedia: https://en.wikipedia.org/wiki/Kalah. The default implementation of this app for 6-stone.
- Each of the two players has six pits in front of him/her.
- To the right of the six pits, each player has a larger pit, his Kalah or house.
- At the start of the game, six stones are put In each pit.
- The player who begins picks up all the stones in any of their own pits, and sows the stones on to the right, one in each of the following pits, including his own Kalah.
- No stones are put in the opponent's' Kalah. If the players last stone lands in his own Kalah, he gets another turn. This can be repeated any number of times before it's the other player's turn.
- Two players have to play on the same screen.
- Java 1.8 - Programming language
- Maven 3.5.0 - Build tool
$ git clone https://github.com/maruf571/kalah
$ cd kalah
- Run test
$ mvn test
- Run the web server on dev mode
$ mvn spring-boot:run
- Run the web server on prod mode
$ mvn spring-boot:run -Dspring-boot.run.profiles=prod
After running the project on dev environment and browse http://localhost:7070/swagger-ui.html
After running the project & browse http://localhost:7070
- Spring boot 2.0.X -Backed Framework
- Maven - Dependency Management
- AngularJs - Frontend Framework
- Maruf Hassan
This project is licensed under the MIT License