ocadotechnology / aimmo

A python-based multi-player online educational game for students to play in a class or club setting.
Other
116 stars 72 forks source link

Introduce a max 15 running games constraint on the Game model #1786

Closed faucomte97 closed 1 year ago

faucomte97 commented 1 year ago

Task Description

The Game model does not currently have a constraint for the max amount of running games stored on the DB. This has caused additional games to be created by teachers even when the Agones resources were already maxed out, causing those new games to never be allocated a resource.

In addition to the constraint being set, the teachers should actually be unable to create a new game when all 15 games are already running. This should be handled gracefully with proper user feedback.

Acceptance Criteria

Copywrite Requirements