Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Upon reading this, I realized I had never really looked into state machines much. In my searching, I found a Coffeescript state machine that has a nice chess-based example:

https://github.com/stephenb/coffee-machine



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

Search: