ringtailsoftware/zoridor
A Quoridor game for terminal and web
b001662c929e2719ee24be585a3120640f946337
c2e3122d5dd6192513ba590f229dbc535110efb8
b65e1a27c9b2d4bb892e5ffd1a76715d6c0557ab
refs
A terminal and web version of the Quoridor board game
WASM4 version on wasm4 branch.
Play on the web at https://ringtailsoftware.github.io/zoridor/
Or play the WASM4 cart at https://ringtailsoftware.github.io/zoridor/cart.html
Quoridor tutorials:
Get Zig
Terminal version:
zig build run
Web version:
zig build -Dweb=true && zig build serve -- zig-out -p 8000
Browse to http://localhost:8000
Auto-rebuild and reload on change
watchexec -r --stop-signal SIGKILL -e zig,html,css,js,zon -w src 'zig build -Dweb=true && zig build serve -- zig-out -p 8000'
Help
zig build run -- -h
To watch machine vs machine matches forever:
zig build run -- -1 machine -2 machine -f
On exit, a record of all moves is printed in both Glendenning format and base64. The base64 format can be reloaded with zig build run -- -l jcNJujqxKRY2sA==
For a comprehensive examination of playing Quoridor, see Lisa Glendenning's Thesis