This code, based on Dropwizard, requires maven and Java 1.8.
mvn clean verify
java -jar target/tictac-drop-1.0-SNAPSHOT.jar server src/main/resources/local.yml
curl --header "Content-type: Application/json" -X POST http://localhost:8080/drop_token -d'{ "players":["p1", "p2"], "rows":4, "columns":4}'
- Download mongoDb from https://www.mongodb.com/try/download/community
- Create database
droptoken
- Create Collections
game
,moves
,players
,status
.
- Create Collections
- Have fun.
Game Screenshots can be seen here
Design decisions and requirements are documented here