chiark / gitweb /
deployment work
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 21 Nov 2020 23:24:01 +0000 (23:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 21 Nov 2020 23:24:01 +0000 (23:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile
README.md
templates/loading.tera

index 2624fb7c94943d723bcace363e2ebe6ba7f0120f..150d5add513b9757204bb5f4a5c3d4b39d684c11 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,8 @@ TS_SRC_FILES= \
 LITFILES= LICENCE AGPLv3
 TXTFILES= CC-BY-SA-3.0 CC-BY-SA-4.0
 
-FILEASSETS = $(addprefix templates/,$(LITFILES) $(TXTFILES))
+FILEASSETS = $(addprefix templates/, libre $(LITFILES) $(TXTFILES)) \
+       $(wildcard templates/*.tera)
 
 WASM := wasm32-unknown-unknown
 
index 4f7b041ab11b833612af412552f291e78bc6628b..04f47c83af088ace3e7e44fde96fe481c477e7c4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,6 +11,27 @@ unix shell account on the server.
 Right now Otter is in an alpha state.
 
 
+CREATING A GAME
+===============
+
+otter reset --reset-table local-users :test demo
+                         /^^^^^^^^^^^  ^^^\ ^^^^'~ game spec
+                         `table spec       game name
+
+Here "local-users" refers to the file "local-users.table.spec" in the
+Otter specs directory (/volatile/Otter/specs on chiark).  The table
+spec file handles access control (and some other global properties)
+This particular file says that all local shell account users may join
+the game.
+
+":test" is the game name.  It starts with a colon, which means
+implicitly "unix:<whoami>::test".  Other people have to name the game
+with the full name, with all three colons in it.
+
+"demo" refers to the file "demo.game.spec".  The "game spec" says what
+shape table is and what pieces there are.  This is a simple demo game.
+
+
 BUILDING
 ========
 
index 003641cf49275c2f52122a186b07d7fafbc0acef..f011ede4c5f9f6be713cf3dca1b38824fff96ea4 100644 (file)
@@ -3,7 +3,7 @@
      There is NO WARRANTY. -->
 <html>
 <head>
-<link rel="license" href="/_/libre.html">
+<link rel="license" href="/_/libre">
 <script defer>let wasm_input = fetch('/_/wasm.wasm');</script>
 <script src="/_/wasm.js" defer></script>
 <script src="/_/script.js" defer></script>