An implementation of a classic game using Flux, React, and immutable-js.
Served from Heroku; click the badge above to try it out.
There's one Dispatcher, a few Actions, and a couple of Stores evolving and feeding data uni-directionally to React components.
Because the models are backed by immutable data structures, change-detection and component rendering are fast and efficient.
Developed in coffee-react. Sources are served minified (with sourcemaps) in production.
The goal is to collide with as many green squares as the score counter suggests, without hitting any black squares, or self-intersecting.
- press
R
to restart - use the arrow keys (
←
,↑
,→
,↓
) to move around - reversing directions while moving isn't allowed
Feedback? Get in touch.