From 4e7da4450283cc46046fba1fcbf3d86c0456ce0f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Oct 2024 22:56:51 +0100 Subject: Add social golfer designs for imperfect group sizes. --- server.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server.js') diff --git a/server.js b/server.js index ec6e4ca..bf4f56b 100644 --- a/server.js +++ b/server.js @@ -3082,6 +3082,9 @@ function make_pools(seed, players) { if (v % 39 === 0) return designs.pool_players(players, 39) if (v % 45 === 0) return designs.pool_players(players, 45) if (v % 51 === 0) return designs.pool_players(players, 51) + // social golfer semi-solutions + if (v % 6 === 0) return designs.pool_players(players, 6) + if (v % 12 === 0) return designs.pool_players(players, 12) // misc bibd if (v % 13 === 0 && n == 6) return designs.pool_players(players, 13) @@ -3096,6 +3099,8 @@ function make_pools(seed, players) { if (v % 28 === 0) return designs.pool_players(players, 28) if (v % 40 === 0) return designs.pool_players(players, 40) if (v % 52 === 0) return designs.pool_players(players, 52) + // social golfer semi-solutions + if (v % 8 === 0) return designs.pool_players(players, 8) // misc bibd if (v % 9 === 0 && n == 8) return designs.pool_players(players, 9) -- cgit v1.2.3