Add MusicGameResults model and score calculation logic in GameEndView
This commit is contained in:
parent
b1ec960dfa
commit
303538bf48
7 changed files with 116 additions and 18 deletions
17
game/migrations/0021_alter_musicgameresults_score.py
Normal file
17
game/migrations/0021_alter_musicgameresults_score.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 5.2.3 on 2025-06-15 11:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("game", "0020_alter_musikgame_options_musicgameresults"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="musicgameresults",
|
||||
name="score",
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue