For developing purpose, first download the repository,then do
$ npm install
on your terminal.After that, either navigate to the file in your browser, or start a http server like this
$ python -m SimpleHTTPServer 3000
and go to localhost:3000 to play the game.