From: Ian Jackson Date: Sat, 21 Nov 2020 23:24:01 +0000 (+0000) Subject: deployment work X-Git-Tag: otter-0.2.0~412 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ee0619ba3d05bf1cca58c7b74b2d64d6ab9d2707;p=otter.git deployment work Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index 2624fb7c..150d5add 100644 --- 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 diff --git a/README.md b/README.md index 4f7b041a..04f47c83 100644 --- 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:::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 ======== diff --git a/templates/loading.tera b/templates/loading.tera index 003641cf..f011ede4 100644 --- a/templates/loading.tera +++ b/templates/loading.tera @@ -3,7 +3,7 @@ There is NO WARRANTY. --> - +