summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-02 16:28:48 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-02 17:06:50 +0100
commitf794c5379baf12d6dbc4b4d02a1e44604e1def00 (patch)
tree4da8d1fe1badc05437ec8e862a32c77be64a47b6 /schema.sql
parentc7fb66f0903d4d7b7e6c04dc33a3e5e9d3a3068d (diff)
downloadserver-f794c5379baf12d6dbc4b4d02a1e44604e1def00.tar.gz
Handle multiple winners for Elo calculations.
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 9143a9e..f04425f 100644
--- a/schema.sql
+++ b/schema.sql
@@ -169,7 +169,7 @@ create view rated_games_view as
games
where
status > 1
- and moves > 6
+ and moves >= player_count * 3
and user_count = player_count
and player_count > 1
and not exists (