Try at URLchess project pages.
To play chess via mail (or messenger app) without need to register somewhere
- 1st move: Go to URLchess page, make your move, copy and send generated link to your oponent (via email, messenger, sms, ...).
- Reply to move: Click on link, you got from your oponent, make move, copy and send generated link back.
- gopherjs to generate js
- Multipurpose chess package for Go/Golang for chess logic
Get or update URLchess and dependencies with:
go get -u -v github.com/jezek/URLchess
Go to URLchess project directory and generate javascript content using:
gopherjs build -m
Copy index.html
, URLchess.js
and URLchess.css
to your server accessible from internet (or just run it in browser) and feel free to play
This is an early relase. Improvements will be done soon. Some of them:
- player should be able to ask for draw and if accepted, then draw the game
- player should be able to resign and loose
- previous moves explorer
- minimize js file size (don't use some packages like fmt, ...)
- more touch friendly ui (dragable pieces?)
- multilanguage?
- transition to wasm?
- ...
Test, fork, make pull requests, file issues or improvement ideas, discuss. Everything within reasons is welcome.
To test golang's web development capabilities and learn something from it.