Conquer your enemy!
In Game of Drones there are two players trying to conquer each other.
Players take turns to make their move, choosing Paper, Rock or Scissors. Each move beats another, just like the game “Paper, rock, scissors”.
Like so:
- Paper beats Rock
- Rock beats scissors
- Scissors beat Paper
-
To run the application on browser, you can execute the following commands using CLI:
- npm install
- gulp
- ionic serve
-
To run the application on mobile devices via USB, you can execute the following commands using CLI:
On Android
- ionic platform add android
- ionic run android
On iOS (Mac)
- ionic platform add ios
- ionic run ios
To debug the application, you can use some tools:
- To run the application using CLI, you can execute the following commands: - npm install - npm start
To debug the application, you can use: - Visual Studio Code
Path | Explanation |
---|---|
./app/img/ |
Images in the app. |
./app/js/ |
Scripts (Controllers, Services, Directives, etc). |
./app/scss/ |
The styles of the app using Sass. |
./app/templates/ |
Views in the app. |
./app/index.html |
The init page. |
./www/css/ |
Other css styles like Animate.css, etc. |
./www/lib |
Scripts downloaded using bower. |
1. Unit Tests With Jasmine & Karma:
To run the unit tests, you can execute the following commands using CLI:
- cd tests
- karma start unit-tests.conf.js
2. End-To-End Tests With Jasmine & Protractor:
-
To run the E2E tests on Chrome, you can execute the following commands using CLI:
- ionic serve --nobrowser
-
Using another command line
- cd tests
- protractor e2e-tests.conf.js
I believe in Unicorns 🦄 Support me, if you do too.
Made with <3