Serve practice mode from the main server, add mode switch, fix touch

Practice mode is now at /practice on server.py instead of a separate
server, with a button in the bottom-right corner of each page to the
other mode. Touch: no double-tap zoom, no sticky hover after a tap, no
long-press selection on the board, and a pressed look on tapped squares.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
tukaunuandClaude Opus 5.5 committed 2026-10-22 01:47:27 +02:00
1 parent c52f30dc59
commit ce6b71eb35
7 files changed
+51 -42

No files matched your search

+1
View File
@@ -46,6 +46,7 @@
</div>
</section>
</main>
<a class="mode-switch" href="/practice">Practice</a>
<script src="/static/board.js"></script>
<script src="/static/app.js"></script>
</body>