Cannon Man is a fun and exciting 2 player shooting game inspired by the classic Flash game Bowman. The object of the game is to be the first one to shoot down your opponents cannon and you win. This game was built as a school project to further increase experience with jQuery, bootstrap, Matter.js, Firebase, and Jasmine. Play the official game here!
1.0: Released Feb 2, 2018
1.1: Released Feb 15, 2018
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
-
Within GitHub, navigate to the main page of the repository.
-
Click the Clone or download button.
-
Copy the clone URL for the repository.
-
Open Terminal or CMD Prompt(Windows).
-
Change your current working directory to the location where you'd like the cloned directory be stored.
-
Type git clone, and then paste the URL you copied in Step 3.
-
git clone https://github.com/LtBackup/Cannon-Game.git
-
Press Enter and a new local cloned repository will be created.
Chrome |
---|
24+ |
Open jasmine-testing/SpecRunner.html
in browser
Add additional notes about how to deploy this on a live system
- Matter.js - A 2d rigid body JS physics engine used for animation
- Firebase - Realtime database for multiplayer functionality
- Bootstrap - CSS library
- jQuery - Library used for DOM manipulation
- Jasmine - Testing framework for unit tests
##Development
As with any game, we started with just our ideas. Our Flowcharts and initial visions are below:
Whole game flow:
The battlefield and UI:
Our launch trajectory math:
Matter.js is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspired by Bowman