Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
# SPDX-License-Identifier: AGPL-3.0-or-later
# There is NO WARRANTY.
-# xxx
-# xxx also put this in the README.md
-
table_size = [300, 200]
[[pieces]]
// SPDX-License-Identifier: AGPL-3.0-or-later
// There is NO WARRANTY.
+// xxx
+// chiark:~> otter join-game unix:ijackson::test
+// already in game, as player #1 "ijackson"
+// redelivering existing access token
+// thread 'main' panicked at 'execution error: game alternations failed (maybe partially); response to: AlterGame { game: InstanceName { account: AccountName { scope: Unix { user: "ijackson" }, subaccount: "" }, game: "test" }, insns: [RedeliverPlayerAccess(1#1)], how: Online }
+//
+// Caused by:
+// AuthorisationUninitialised', src/bin/otter.rs:414:25
+
+
#![allow(unused_imports)]
use otter::imports::*;
// #def.{}.stuff
// generated by server, reserved for Piece trait impl
+// xxx Error (reloading may help?):exception handling update Piece: {"Piece":{"piece":"10.1","op":{"Modify":{"pos":[151,40],"svg":"<g id=\"piece10.1\" data-dragraise=\"4\"><g transform=\"scale(0.2 0.2) translate(-22.5 -22.5)\"><!-- otter.git#3413043bf64abcedc4332b192dd207882a0f3abf+ library/wikimedia/chess-b-R.usvg CC-BY-SA-4.0, see library/wikimedia/LICENCE -->\n<svg width=\"45\" height=\"45\" viewBox=\"0 0 45 45\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:usvg=\"https://github.com/RazrFalcon/resvg\" usvg:version=\"0.11.0\">\n <defs/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linejoin=\"round\" d=\"M 9 39 L 36 39 L 36 36 L 9 36 L 9 39 Z\"/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linejoin=\"round\" d=\"M 12.5 32 L 14 29.5 L 31 29.5 L 32.5 32 L 12.5 32 Z\"/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linejoin=\"round\" d=\"M 12 36 L 12 32 L 33 32 L 33 36 L 12 36 Z\"/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" d=\"M 14 29.5 L 14 16.5 L 31 16.5 L 31 29.5 L 14 29.5 Z\"/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linejoin=\"round\" d=\"M 14 16.5 L 11 14 L 34 14 L 31 16.5 L 14 16.5 Z\"/>\n <path fill=\"#000000\" fill-rule=\"evenodd\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linejoin=\"round\" d=\"M 11 14 L 11 9 L 15 9 L 15 11 L 20 11 L 20 9 L 25 9 L 25 11 L 30 11 L 30 9 L 34 9 L 34 14 L 11 14 Z\"/>\n <path fill=\"none\" stroke=\"#ffffff\" stroke-linecap=\"round\" d=\"M 12 35.5 L 33 35.5 L 33 35.5\"/>\n <path fill=\"none\" stroke=\"#ffffff\" stroke-linecap=\"round\" d=\"M 13 31.5 L 32 31.5\"/>\n <path fill=\"none\" stroke=\"#ffffff\" stroke-linecap=\"round\" d=\"M 14 29.5 L 31 29.5\"/>\n <path fill=\"none\" stroke=\"#ffffff\" stroke-linecap=\"round\" d=\"M 14 16.5 L 31 16.5\"/>\n <path fill=\"none\" stroke=\"#ffffff\" stroke-linecap=\"round\" d=\"M 11 14 L 34 14\"/>\n</svg>\n</g></g><path id=\"surround10.1\" d=\"M 0 4.95 a 4.95 4.95 0 1 0 0 -9.9 a 4.95 4.95 0 1 0 0 9.9 z\"/>","held":"2#1","z":"g04r000000","zg":60,"pinned":false,"uos":[]}}}}: TypeError: players[p.held] is undefined
+
type PieceId = string;
type PlayerId = string;
type Pos = [number, number];