Commit Graph

4 Commits

Author SHA1 Message Date
6fdd9ac743 Only returns board game when game is finished 2020-11-08 00:26:08 -03:00
c7bfc1021c Adding the game data to the event click response 2020-11-07 16:18:09 -03:00
26de57fbfc Creating structure for the game events (#3)
* Adding the GameVent model and migration

* Initializing the GameEvent endpoint

* GameEvent listing endpoint

* Adding CLICK_NAIVE event

* Added signal for identify what is on the click location

* Using row and col integer is better than metadata with jsonfield

* Create event for the same position is not allowed

* Better signals control

* Adding a board progress to Game model

* Identifying the win status

* Hide generated board from client
2020-11-07 00:29:51 -03:00
733f3e5992 Basic game creating API (#2)
* Adding the base of our API

* Little file and lint adjustments

* Adding the lint command to Makefile

* Adding the Minesweeper logic for game creation

* Adding some tests for the Minesweeper algorithm

* Adding some tools command to Makefile like pre-commit and pip-tools

* Adding test help text to Makefile

* all new user is_staff=True, for development for now

* Now we can get the data from specific game

Adding game status

Adding game status

Fixing game models
2020-11-05 23:29:35 -03:00