Web interface for Scan.
I have created a web interface to play draughts against an engine that supports the hub protocol.
Practically speaking, it means you can use your web browser to play against the Scan engine of Fabien Letouzey.
I expect it is platform independent so you can use it with Windows, macOS or Linux.
To make it working, what you have to do is:
- Install Scan locally or on your network.
- Copy the executable file for your OS from the site: WebSocket daemon
- Start Scan in the terminal with the WebSocket daemon (***).
- Start the web interface with your browser, make a connection with Scan and start the initialization.
- You are now ready to play a game against Scan.
(***) Reserve some time to find out which command you had to use to start Scan.
On my Linux OS I use the command: ./websocketd --port=27532 ./scan hub
The port I use is the default port number of the web interface.
To keep it simple I put the WebSocket daemon executable in the same folder as the scan executable.
See the WebSocket daemon page to understand how to start Scan.
For me it works great. You can find the web interface here
For the sake of fun I included two very simple build-in engines: a random player and a minimax player.