An HTML-5 canvas game with gamepad support.
Prerequisite: Node.js
installed
- clone this repo, cd into it
- install yarn if you don't have it.
npm install -g yarn
- run
yarn
- in one terminal
yarn webpack -w
. This will keep the game built as you edit it - in another terminal
yarn app
. This will start the game up. - visit
http://localhost:3377
to play the game - edit any
*.ts
file in thesrc/
dir to change the game
For now, just take a look at any of the existing ones (e.g. src/ai/green-ai.ts
) and edit that. If you make a good one, I can add it to the game.
Also, during a game if you hit the letter g
on your keyboard (for God mode), it will show you a rough prediction of where the ball(s) will go, highlighting the likely places they will hit the ground or enter a player's jump range.
See TODO.md
Game by Chris Coyne. Music by Christian Rudder. "Rejected" sound by Jennie Coyne.