A simple physics survival game. The aim is to make it as far down as possible before exploding.
This game was inspired by 7bomb on Windows Phone 7, back in the day. It contains a custom game engine and physics engine and the build contains no external dependencies (WebPack and Typescript are required to build the project).
In addition, the game is a valid PWA, meaning that it should be installable and will work offline.
A live version of the game is available at https://bombs-away.now.sh/
A or ← to go left.
D or → to go right.
Space or W to jump.
Tap the left side of the screen to go left, and the right side to go right. Tap the other side of the screen (when moving in a direction) to jump.
: Laser. Cuts out a space to sit in, safe from bombs. Tap player to use.
: Grenade. Makes an explosion, flinging away bombs (and potentially you!) and destroying terrain. Tap player to use.
: Agility: temporarily increase your speed and agility. Used on contact.
: Invulnerability: temporarily makes you invulnerable! Used on contact.
Initialize submodules
git submodule init
git submodule update
Install Packages
npm i
Run a development server
npm run start
(assuming submodules and packages are installed)
npm run build
The public
directory can be served with any static web server (I generally use serve).