X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lmno.js;h=f5e7c1eea74af41df45a909e19b6eaa8cd83d19d;hb=3721e324b6571088d6940a8b37a1c5bd7ca394aa;hp=b971bcb6332e4292fa8848b3325461307ac4b18c;hpb=3412d5c52c274f25a2048d503d45eb45821eb72b;p=empires-server 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 */