Files
backend/game/apps.py
Michel Wilhelm 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

11 lines
201 B
Python

from django.apps import AppConfig
class GameConfig(AppConfig):
name = "game"
verbose_name = "Game"
verbose_name_plural = "Games"
def ready(self):
import game.signals # noqa