Hangman game made with React for a live coding session at Meetup.js Buenos Aires.
This is a showcase of some cool ideas and concepts that I found useful when working with React and Flux.
You can find these ideas in a more production-ready shape in https://github.com/gaearon/redux
npm install
npm start
and go to http://localhost:3000
copyActions
: returns aJSON.stringify
-ied list of actions performed in the current session, which you can copy and paste in another tab with the game running to replay.replayActions
: receives a stringified list of actions (returned bycopyActions
) and replays that list of actions to reflect the same final state of the session from which you copied those actions.undo
: Undoes the last action performed.redo
: Redoes the last undone action. You can keep redoing all undone actions.