https://github.com/ahmednuaman/hello-pong
A 'hello pong' example built in CreateJS
https://github.com/ahmednuaman/hello-pong
Last synced: about 2 months ago
JSON representation
A 'hello pong' example built in CreateJS
- Host: GitHub
- URL: https://github.com/ahmednuaman/hello-pong
- Owner: ahmednuaman
- Created: 2013-02-17T09:24:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-06T17:59:19.000Z (about 12 years ago)
- Last Synced: 2025-02-10T14:09:23.686Z (4 months ago)
- Homepage: http://ahmednuaman.github.com/hello-pong/
- Size: 19.1 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Pong!
This is a simple game created in [CreateJS](http://createjs.com). It's to help teach people the simple set up and mechanics needed for a game (I hope).## How to play
Visit: [http://ahmednuaman.github.com/hello-pong/](http://ahmednuaman.github.com/hello-pong/) to play the final game or…## How to learn
Visit: [http://ahmednuaman.github.com/hello-pong/#interactive](http://ahmednuaman.github.com/hello-pong/#interactive) and then enter the following into the console at the bottom of the window as a sequence and watch the game come to life:game.addBackground()
game.addCourt()
game.addScores()
game.addLeftPaddle()
game.addRightPaddle()
game.enableControls()
game.addBall()
game.startBallMovement()
game.addAI()### License: MIT
Copyright © 2013 Ahmed NuamanPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.