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