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
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .game import GameSerializer
|
||||
from .game import GameSerializer, GameEventSerializer
|
||||
|
||||
|
||||
__all__ = ["GameSerializer"]
|
||||
__all__ = ["GameSerializer", "GameEventSerializer"]
|
||||
|
||||
Reference in New Issue
Block a user