From ac5661338b7bc1f1f43c5f80de09c6856defba23 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 7 Jul 2020 05:58:28 -0700 Subject: [PATCH] Pre-allocate an Empires game with ID QRST To simplify the development of the current flempires client. --- lmno.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lmno.js b/lmno.js index b971bcb..f5e7c1e 100644 --- a/lmno.js +++ b/lmno.js @@ -163,6 +163,13 @@ LMNO.letters = "CCDDDGGGHHJKLLLLMMMMPPPPQRRRSSSTTTVVWWYYZ"; const lmno = new LMNO(); +/* Pre-allocate an empires game with ID QRST. + * This is for convenience in the development of the flempires + * client which would like to have stable API endpoints across + * server restarts. + */ +lmno.create_game_with_id("empires", "QRST"); + /* Force a game ID into a canonical form as described above. */ function lmno_canonize(id) { /* Capitalize */ -- 2.43.0