Skip to content
/ bombs Public

HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.

Notifications You must be signed in to change notification settings

topheman/bombs

Repository files navigation

topheman bombs

Introduction

Topheman Bombs is a free HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.

  • Tilt your device to manage the blue dot
  • Tap the screen to drop bombs on the enemies (red dots)
  • Grab the green dots to get more bombs

Install / Run / Build

More infos in GRUNTWORKFLOW.md.

Install

yarn

Make sure you have grunt-cli - otherwise, npm install -g grunt-cli

Run

grunt server

Build

grunt build

Creates a bundle in the ./release folder

Development

Ball.js

The game is based on Ball.js, a JavaScript class that handles physics interactions between balls on a flat area (i.e. collisions) as well as rendering, I made in early 2012.

Previous versions

This project was started in 2012, using Grunt, requireJS and a few vintage techs - it still works!

More infos on changelog.

Grunt Workflow Boilerplate

In the end of 2013 first semester, after finishing boxboxevents, I was working on a game and I re-discovered grunt with the v0.4.

I explain my grunt workflow here with all the different tasks such as :

  • building
  • server testing
  • ftp deploying
  • creating html5 manifest

Feel free to take a look.

Related

License

This software is licensed under Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) at http://creativecommons.org/licenses/by-nc/3.0/

About

HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.

Resources

Stars

Watchers

Forks

Packages

No packages published