Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topheman/bombs
HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.
https://github.com/topheman/bombs
Last synced: about 2 months ago
JSON representation
HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.
- Host: GitHub
- URL: https://github.com/topheman/bombs
- Owner: topheman
- Created: 2013-08-16T16:41:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T02:40:00.000Z (about 2 years ago)
- Last Synced: 2024-04-08T00:39:38.404Z (9 months ago)
- Language: JavaScript
- Homepage: https://topheman.github.io/bombs/
- Size: 1.04 MB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# topheman bombs
* Try it at : [https://topheman.github.io/bombs](https://topheman.github.io/bombs)
* [Video demo on youtube](http://youtu.be/PEw9Kkko4xU "Video demo on youtube")
* A game made with Ball.js : [https://github.com/topheman/Ball.js](https://github.com/topheman/Ball.js)
* [Changelog](https://github.com/topheman/bombs/blob/master/CHANGELOG.md)
* [Workflow with grunt](https://github.com/topheman/bombs/blob/master/GRUNTWORKFLOW.md)# 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](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](https://github.com/topheman/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](CHANGELOG.md).
## Grunt Workflow Boilerplate
In the end of 2013 first semester, after finishing [boxboxevents](https://github.com/topheman/boxbox), I was working on a game and I re-discovered [grunt](http://gruntjs.com/) with the v0.4.
I explain my __[grunt workflow here](GRUNTWORKFLOW.md)__ with all the different tasks such as :
* building
* server testing
* ftp deploying
* creating html5 manifest
* …Feel free to take a look.
# Related
* [Blog post](http://dev.topheman.com/topheman-bombs-v2/)
* Thanks to [remote-tilt.com](http://remote-tilt.com/)# License
This software is licensed under ![Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)](http://i.creativecommons.org/l/by-nc/3.0/88x31.png)
at http://creativecommons.org/licenses/by-nc/3.0/