1 Web interface for lmno.games server
2 ===================================
5 Serves static content (if file exists in filesystem),
6 otherwise proxies to dynamic server.
12 Form: "Join game: (ID)"
15 Redirects to https://lmno.games/<game_engine>/<ID>/
16 For example: https://lmno.games/empires/WXYZ/
18 Links: Host a new game:
20 "Empires" links to https://lmno.games/empires
22 "Other game" links to https://lmno.games/other_game
26 https://lmno.games/WXYZ/
27 ------------------------
30 Redirects to https://lmno.games/<game_engine>/WXYZ/
32 http://lmno.games/profile/
33 --------------------------
36 Stores profile information in the current session.
38 Supported fields: nickname
40 Example data: { "nickname": "Carl" }
42 https//lmno.games/new/<engine> (POST)
43 -------------------------------------
46 Creates a new, unique game ID and returns it as a JSON string
50 https://lmno.games/empires
51 --------------------------
54 Form: Start a new game
56 Sends POST to https://lmno.games/new/empires
57 Receives game ID as a JSON string (for example, "WXYZ")
59 https://lmno.games/empires/WXYZ?flavor=flutter
60 ----------------------------------------------
61 Type: Dynamic (to lookup game ID), but otherwise a static result
63 Serves game content (either the default or the "flutter" flavor)
67 https://lmno.games/WXYZ/empires/register (form action="/empires/register")
68 https://lmno.games/WXYZ/empires/events
75 Client saves game ID (WXYZ, say)
77 Client queries game state
79 https://lmno.games/WXYZ/empires/players
81 Client posts game updates:
83 https://lmno.games/WXYZ/empires/register