zoridor
ringtailsoftware/zoridor
MIT
A Quoridor game for terminal and web
4 4 1 0
4
game, quoridor, zig, zig-package
build.zig.zon
build.zig
View on Github
ringtailsoftware/zoridor
A Quoridor game for terminal and web
A terminal and web version of the Quoridor board game
Play on the web at https://ringtailsoftware.github.io/zoridor/
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