pacNEM is a Browser PacMan game with NodeJS, Socket.io, Handlebars and NEM Blockchain
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config Merge branch 'master' of github.com:evias/pacNEM Feb 27, 2018
core Merge branch 'master' of github.com:evias/pacNEM Feb 27, 2018
img add better resolution for hall of fame screenshot Aug 16, 2017
locales improve mobile rendering, reduce texts - improve authentication Jul 31, 2017
test
views
www add letsencrypt renew files Feb 21, 2018
.gitignore also minify NEM-sdk asset - from 2.7Mb to 1.3 Jul 8, 2017
.travis.yml
CHANGELOG.md fix HallOfFame display - now updates whenever someones requests for it Jun 29, 2017
Gruntfile.js bugfix translations - improve UI - first draft of pacnem_gamer_sync t… Jul 20, 2017
LICENSE Merge remote-tracking branch 'jspacman/master' into develop: Initial … Mar 21, 2017
Procfile
README.md change donations address Mar 28, 2018
_bmSAeAjQBpzPaWOIrOqEJ6EtvZivl8-9ueH5YFl14Y add letsencrypt renew files Feb 21, 2018
app.js add ssl verification files for letsencrypt certbot Nov 20, 2017
package.json 0.8.8: upgrade on heroku Aug 16, 2017
pacnem.htpasswd add http-auth package - update nem-sdk to latest 1.0.1-RC3 Mar 31, 2017

README.md

PacNEM: Multiplayer Pacman Game with the NEM Blockchain

PacNEM is a multiplayer Pacman Game using the NEM Blockchain to Reward Players and registered Sponsors.

This game features the ability to play online with up to 4 players on the same grid, arranged in Rooms manage with Socket.io.

This fork aims to specialize the game for the NEM blockchain.

Installation

evias/pacNEM requires NodeJS, Socket.IO and Express libraries:

  • Socket.IO: heavily used in this project to handle the communications between the server and its clients to establich and then run the game
  • Express: used to serve static files and the PacNEM API.

Installing these dependencies using the terminal works as follows:

$ cd /path/to/this/clone
$ npm install

Run the Game server locally

Now that the game is installed, you will need to Minify the Javascript using grunt, proceed as following:

$ cd /path/to/this/clone
$ ./node_modules/grunt-cli/bin/grunt uglify:dist
$ ./node_modules/grunt-cli/bin/grunt uglify:deps

Now you can safely start the PacNEM game:

node app.js

When the PacNEM Backend is started, you should something like the following Screenshot:

Started PacNEM Backend

Play:

Visit the following URL to start playing PacNEM:

https://pacnem.com

Pot de vin

If you like the initiative, and for the sake of good mood, I recommend you take a few minutes to Donate a beer or Three [because belgians like that] by sending some XEM (or whatever Mosaic you think pays me a few beers someday!) to my Wallet:

NB72EM6TTSX72O47T3GQFL345AB5WYKIDODKPPYW

License

This software is released under the MIT License.

© 2017 Grégory Saive greg@evias.be, All rights reserved. © 2014 Nicolas DUBIEN, https://github.com/dubzzz/js-pacman.