Spaces:
Running
Running
Season 3: fresh leaderboard for random ranked matches
Browse files
arena.py
CHANGED
|
@@ -16,9 +16,9 @@ from tetris import TetrisGame
|
|
| 16 |
MAX_PIECES = int(os.environ.get("MAX_PIECES", 500))
|
| 17 |
K_FACTOR = 32
|
| 18 |
START_ELO = 1000.0
|
| 19 |
-
APP_VERSION = "1.
|
| 20 |
# Bump to start a fresh leaderboard: data saved under another season is ignored.
|
| 21 |
-
SEASON =
|
| 22 |
|
| 23 |
|
| 24 |
def choose(game: TetrisGame, player, protocol: str, seed: int):
|
|
|
|
| 16 |
MAX_PIECES = int(os.environ.get("MAX_PIECES", 500))
|
| 17 |
K_FACTOR = 32
|
| 18 |
START_ELO = 1000.0
|
| 19 |
+
APP_VERSION = "1.2"
|
| 20 |
# Bump to start a fresh leaderboard: data saved under another season is ignored.
|
| 21 |
+
SEASON = 3
|
| 22 |
|
| 23 |
|
| 24 |
def choose(game: TetrisGame, player, protocol: str, seed: int):
|