Merge branch 'master' of 192.168.0.105:WestsideDiceghost/Liga-System
|
|
@ -56,6 +56,9 @@ def init_db():
|
||||||
last_played TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
last_played TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||||
win_rate REAL DEFAULT 0,
|
win_rate REAL DEFAULT 0,
|
||||||
win_streak INTEGER DEFAULT 0,
|
win_streak INTEGER DEFAULT 0,
|
||||||
|
wins INTEGER DEFAULT 0,
|
||||||
|
losses INTEGER DEFAULT 0,
|
||||||
|
draws INTEGER DEFAULT 0,
|
||||||
trend INTEGER DEFAULT 0,
|
trend INTEGER DEFAULT 0,
|
||||||
tyrann_id INTEGER,
|
tyrann_id INTEGER,
|
||||||
pushover_id INTEGER,
|
pushover_id INTEGER,
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
],
|
],
|
||||||
"mmr_info": [
|
"mmr_info": [
|
||||||
"**MMR Punkte** sind die Liga Punkte um die gespielt wird.",
|
"**MMR Punkte** sind die Liga Punkte um die gespielt wird.",
|
||||||
"Verliert man ein Spiel, verliert man Punkte. Und umgekehrt."
|
"Auf der Hauptseite findest du eine detailierte Übersicht über deine letzen Spiele und die Punkte die du verloren oder gewonnen hast."
|
||||||
],
|
],
|
||||||
"match_form_info": [
|
"match_form_info": [
|
||||||
"Um ein Spiel einzutragen gibt einfach deine Punkte ein. Wähle deinen Gegner aus. Und gibt seine Punkte ein.",
|
"Um ein Spiel einzutragen gibt einfach deine Punkte ein. Wähle deinen Gegner aus. Und gibt seine Punkte ein.",
|
||||||
|
|
@ -25,5 +25,29 @@
|
||||||
"Verlierer: (-l_base + l_khorne - slaanesh - tzeentch) * rust_factor)"
|
"Verlierer: (-l_base + l_khorne - slaanesh - tzeentch) * rust_factor)"
|
||||||
],
|
],
|
||||||
"tyrann_info": [],
|
"tyrann_info": [],
|
||||||
"prügelknabe_info": []
|
"prügelknabe_info": [],
|
||||||
|
"rang_info": [
|
||||||
|
"Der Rang ergibt sich aus den MMR Punkten. Je mehr Punkte du hast, desto höher bist du wahrscheinlich in der Rangliste.",
|
||||||
|
"MMR Punkte werden nach jedem Spiel errechnet."
|
||||||
|
],
|
||||||
|
"khorne_rule_info": [
|
||||||
|
"Khorne mag es wenn Blut fließt!",
|
||||||
|
"Deshalb schenkt er 8 Punkte den Spielern die oft Spielen. Ist dein letztes Spiel in dieser Liga noch keine 16 Tage her, kriegst du 8 Bonus Punkte. Egal ob du gewonnen oder verloren hast."
|
||||||
|
],
|
||||||
|
"tzeentch_rule_info": [
|
||||||
|
"Der Gebieter der Intriegen mag es wenn geschmiedete Pläne aufgehen. Wenn du deinen Gegner mit einem großen Punkte abstand besiegst, gewährt er dir extra Puntke.",
|
||||||
|
"Sieger Punkte - Verlierer Punkte / Maximal Punkte im Spielsystem. Ergibt 0-9 Punkte, je nach Abstand."
|
||||||
|
],
|
||||||
|
"slaanesh_rule_info": [
|
||||||
|
"Diese Regel wird noch entworfen. Irgend eine Funktion mit dem ***Rivale*** und ***Prügelknabe***. Updates folgen!"
|
||||||
|
],
|
||||||
|
"rust_factor_info": [
|
||||||
|
"Hat ein Spieler schon länger als 30 Tage in einem System nicht mehr gespielt, wird ein Multiplikator auf die gewonnenen oder verlorenen MMR Punkte angewandt.",
|
||||||
|
"Bei 30 Tagen startet der Rost-Faktor bei 0,8 (80%) und erhöht sich bis 0,1 (10%) bei 90 Tagen.",
|
||||||
|
"Der Rost Faktor soll verhindern dass Gelegenheitsspieler mit einem Spiel die ganze Rangliste umkrempeln. Oder als ***Schutz*** für Wiedereinsteiger."
|
||||||
|
],
|
||||||
|
"elo_factor_info": [
|
||||||
|
"Der Elo Faktor errechnet sich aus den Sieger MMR Punkte und des Verlierer MMR Punkte. Für genauere Infos: Google=>'Schach Elo'",
|
||||||
|
"im Prinzip gibt er an wie wahrscheinlich es war dass der Sieger gewonnen hat. Elo 0,5 entspricht 50%. Je höher der Elo Faktor desto **weniger** Base Punkte kriegt der Sieger. Oder verliert der Verlierer."
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -70,7 +70,10 @@ def setup_routes():
|
||||||
ui.label(str(mmr)).classes('text-4xl font-bold text-accent')
|
ui.label(str(mmr)).classes('text-4xl font-bold text-accent')
|
||||||
|
|
||||||
with ui.card().classes("w-full items-center justify-center text-center"):
|
with ui.card().classes("w-full items-center justify-center text-center"):
|
||||||
ui.label("Rang: ").classes('text-2xl font-bold')
|
with ui.row().classes("w-full items-center text-center"):
|
||||||
|
ui.label("Rang: ").classes('justify-center text-2xl font-bold text-normaltext')
|
||||||
|
ui.space()
|
||||||
|
info_system.create_info_button("rang_info")
|
||||||
ui.label(str(my_rank)).classes('text-4xl font-bold text-blue-100')
|
ui.label(str(my_rank)).classes('text-4xl font-bold text-blue-100')
|
||||||
|
|
||||||
with ui.card().classes("w-full lg:col-span-2"):
|
with ui.card().classes("w-full lg:col-span-2"):
|
||||||
|
|
|
||||||
BIN
gui/pictures/achievments/AchievementIcon_128_01.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_02.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_03.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_04.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_05.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_06.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_07.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_08.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_09.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_10.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_11.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_12.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_13.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_14.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_15.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_16.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_17.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_18.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_19.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_20.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_21.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_22.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_23.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_24.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_25.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_26.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_27.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_28.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_29.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_30.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_31.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_32.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_33.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_34.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_35.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_36.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_37.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_38.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_39.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_40.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_41.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_42.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_43.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_44.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_45.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_46.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_47.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_48.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_49.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_50.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_51.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_52.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_53.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_54.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_55.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_56.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_57.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_58.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_59.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_60.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_61.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_62.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_63.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_64.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_65.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_66.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_67.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_68.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_69.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_70.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_71.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_72.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_73.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_74.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
gui/pictures/achievments/AchievementIcon_128_75.png
Normal file
|
After Width: | Height: | Size: 51 KiB |