3 ms·
Should be fairly easy to make this understand the basic movements. Add some node-js multiplayer and off you go.
by kayoone 13y ago
Should be fairly easy to make this understand the basic movements. Add some node-js multiplayer and off you go.
- Oculus 13y agoThat actually sounds like a fun little practice project.
- AnIrishDuck 13y agoI actually built almost exactly this on top of dotcloud a while back: http://chessjs-anirishduck.dotcloud.com/new http://chessjs-anirishduck.dotcloud.com/new I initially based it off a wild idea my coworker and I had about a chess variant where any piece that captures another piece has the option of becoming that piece. I then expanded it with several other chess rule variants, including vanilla chess. One thing worth mentioning is that the rules for chess are deceptively complex. Especially when it comes to valid moves avoiding check and moving out of check. See: https://github.com/AnIrishDuck/chess.js/blob/master/chessjs/static/js/rules/base.js https://github.com/AnIrishDuck/chess.js/blob/master/chessjs/...