https://github.com/redhataccess/pinglabs
A 1-4 player game for the Labs booth at Red Hat Summit.
https://github.com/redhataccess/pinglabs
Last synced: about 2 months ago
JSON representation
A 1-4 player game for the Labs booth at Red Hat Summit.
- Host: GitHub
- URL: https://github.com/redhataccess/pinglabs
- Owner: redhataccess
- License: agpl-3.0
- Created: 2015-04-25T17:29:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T21:45:38.000Z (over 10 years ago)
- Last Synced: 2025-03-23T04:17:17.984Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 719 KB
- Stars: 2
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ping Access Labs Challenge
==========================
PAL Challenge is a 4 player game for the Labs booth at Red Hat Summit.

FEATURES
--------
- web-based (JavaScript, WebGL, Web Gamepad API, etc)
- gamepad input
- three powerups
- HACK: reverse opponents controls for 1 second
- KICK: double puck velocity on your next bounce
- FLIP: make puck go the other way
- basic AI
- live leaderboard
INSTALL
-------
yum install npm
npm install -g bower grunt-cli
git clone git@github.com:redhataccess/pinglabs.git
cd pinglabs
npm install && bower install
grunt build:dev
grunt connect
Navigate to [localhost:9001](http://localhost:9001/).
To view the leaderboard, navigat to [localhost:9001/leaderboard](http://localhost:9001/leaderboard).
HACKING
-------
This game uses the following packages:
- [PhaserJS][phaser] as overall game framework (WebGL, gamepads, physics, etc)
- [Babel][babel] for transpiling es6 into es5 (AMD modules)
- [RequireJS][requirejs] for runtime AMD module loading
- [Bower][bower] for client-side JS package management
- [npm][npm] for 'build-side' package management
- [grunt][grunt] for build tasks
- [grunt-bower-requirejs][gbrjs] for adding bower packages to RequireJS config
Most of the above setup was created for [DiMo][dimo] and re-used here.
To perform a dev build:
grunt build:dev
[dimo]: https://github.com/geekspark-rh/dimo-2015-renderer
[babel]: http://babeljs.io/
[requirejs]: http://requirejs.org/
[bower]: http://bower.io/
[npm]: https://www.npmjs.com/
[grunt]: http://gruntjs.com/
[gbrjs]: https://www.npmjs.com/package/grunt-bower-requirejs
[phaser]: http://phaser.io/