Changed the player's pad movement behaviour

This commit is contained in:
CHIBOUB Chakib
2024-07-31 15:21:07 +02:00
parent 18c6580ae3
commit 067f24f5b8
12 changed files with 526 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 5.0.7 on 2024-07-23 16:04
# Generated by Django 5.0.7 on 2024-07-30 19:44
import django.db.models.deletion
from django.db import migrations, models
@@ -17,6 +17,17 @@ class Migration(migrations.Migration):
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('total_match', models.PositiveSmallIntegerField(default=0)),
('total_win', models.PositiveSmallIntegerField(default=0)),
('p_win', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('m_score_match', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('m_score_adv_match', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('best_score', models.PositiveSmallIntegerField(default=0)),
('m_nbr_ball_touch', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('total_duration', models.DurationField(blank=True, null=True)),
('m_duration', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('num_participated_tournaments', models.PositiveSmallIntegerField(default=0)),
('num_won_tournaments', models.PositiveSmallIntegerField(default=0)),
],
),
migrations.CreateModel(

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.0.7 on 2024-07-31 13:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('game', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='match',
name='duration',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True),
),
]