HTTPS SSH

artwork.jpg

jsPacman

jsPacman is a Javascript remake of the classic Ms Pac-Man game. It is written in JavaScript, using jQuery and the gameQuery plug-in. Animations are made using pure CSS3 DOM manipulation. Sound is native HTML5.

Play Demo

jspacman.bitbucket.io

Credits

Code by @AlbertChop. Game algorithm is based on The Pac-Man Dossier. Sprites are from spriters-resource.

Development

Install nodejs and npm.

Then install globally mocha-phantomjs and grunt-cli:

$ npm install -g mocha-phantomjs phantomjs
$ npm install -g grunt-cli

Then install local modules:

$ npm install

Grunt tasks

Run tests and lint once:

$ grunt test

Run local server at localhost:8000

$ grunt &

Watch changes and run tests, lint and livereload:

$ grunt watch

Build (concatenate and uglify modules):

$ grunt build

Licences

Source code is under MIT Licence.