Hacker News new | past | comments | ask | show | jobs | submit login

I actually built almost exactly this on top of dotcloud a while back:

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/...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: