Giter Club home page Giter Club logo

game-of-drones's Introduction

Game of Drones

Conquer your enemy!

Synopsis

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

###Note: The first player to beat the other player 3 times wins the battle.

Installation

1. FrontEnd:

  • 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:

2. BackEnd:

  • 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](https://code.visualstudio.com/)**

Template Structure

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.

Tests

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

Happy coding

Made with <3

game-of-drones's People

Contributors

jdnichollsc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.