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

This is a great write-up and is exactly the reason that ChessBoard is "just a board".

Proper PGN parsing and legal move validation is a complex and independent problem that nicely fits into it's own library and should be separate from any display logic.

For example: https://github.com/jhlywa/chess.js




I created this board a while ago that is connected to that chess.js

http://thingsilearned.com/projects/chess/




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

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

Search: