This project is a modified version of gbtami/pychess-variants analyis board, so it can analyse bughouse positions. (I just replaced "crazyhouse" with "bughouse", and removed the part when it puts the taken pieces into hands.)
It is a toy/POC project, and I don't intend to work on it, fix bugs.
The repository contain the whole pychess-variants project, which is a whole chess server, with login, server-side chess, and much more.
Open https://online-drophouse-stockfish.herokuapp.com/analysis.html with ?fen=FEN as a query parameter.
For move generation, validation, analysis it uses
On client side it is based on chessgroundx fork of chessground.
- Mongo daemon (You need mongodb up and running)
pip3 install -r requirements.txt --user;
yarn install;
yarn dev;
For MacOS, replace the last command with:
yarn dev-mac
python3 server/server.py
Then you open the output of localhost:8080/analysis/crazyhouse, save it as html, and maybe do some magic with the absolute paths.
Also you should append some special https headers or the browsers will refuse to open wasm.
See my heroku repo: https://github.com/bmacho/online-drophouse-stockfish
My work and gbtami's work is under AGPL-3, the components may use more permissive licences.