diff options
Diffstat (limited to 'backend/game/models.go')
| -rw-r--r-- | backend/game/models.go | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/backend/game/models.go b/backend/game/models.go deleted file mode 100644 index 23bed12..0000000 --- a/backend/game/models.go +++ /dev/null @@ -1,38 +0,0 @@ -package game - -import ( - "time" - - "github.com/nsfisis/phperkaigi-2025-albatross/backend/api" -) - -type gameType = api.GameGameType -type gameState = api.GameState - -const ( - gameType1v1 = api.N1V1 - gameTypeMultiplayer = api.Multiplayer - - gameStateClosed gameState = api.Closed - gameStateWaiting gameState = api.Waiting - gameStateStarting gameState = api.Starting - gameStateGaming gameState = api.Gaming - gameStateFinished gameState = api.Finished -) - -type game struct { - gameID int - gameType gameType - state gameState - displayName string - durationSeconds int - startedAt *time.Time - problem *problem - playerCount int -} - -type problem struct { - problemID int - title string - description string -} |
