From f794c5379baf12d6dbc4b4d02a1e44604e1def00 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Tue, 2 Jan 2024 16:28:48 +0100
Subject: Handle multiple winners for Elo calculations.

---
 schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'schema.sql')

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 (
-- 
cgit v1.2.3

