Skip to content
/ panda-5 Public

Infinite runner type game - tiny Panda's adventures

License

Notifications You must be signed in to change notification settings

ra-v97/panda-5

Repository files navigation

PanDa - 5

Continuation of a fantastic saga about the adventures of a small panda. It is an endless runner game, where you play a role of a cute black and white bear.

Class diagram

class diagram

Pattern description

For more info see patterns description file in main folder.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment section for more information.

Prerequisites

What you need to get started

  • JDK 8

  • Gradle

    Remember to add programs to PATH variable!

Development start

  1. We use IntelliJ IDEA for the project. You can get it here or choose your own IDE.

  2. Clone or download the repository:

    git clone https://bitbucket.iisg.agh.edu.pl/scm/to2-2018/czw-1440-panda5.git
    
  3. Import project into IDE as a Gradle project.

  4. Edit, test, improve as you wish.

Running game

A step by step series of examples that tell you how to run the game. Version for Windows 10.

Console approach
  1. Go to project directory

    cd <your path>\czw-1440-panda5
    
  2. Build your project with Gradle - typed in console

    gradlew build
    
  3. Run your app with Gradle task

    gradlew run
    
IDE approach
  1. Open project with IDE.
  2. Open Gradle project manager.
  3. Run build task and then run task.
  4. Remember about loading all Gradle dependencies.
  5. You can also go to Main class in application package and run the Main.class.

Running the tests

Explanation how to run the automated tests for this system and test current app state.

We use junit 4 for the unit tests.

Console approach
  1. Go to the project directory

    cd <your path>\czw-1440-panda5
    
  2. Build your project with Gradle - type in console

    gradlew build
    
  3. Run tests with Gradle task

    gradlew test
    

    You will see test results in console. You can also see a more detailed report. For the more detailed report open:

      <your path>\czw-1440-panda5\build\reports\tests\test\index.html
IDE approach
  1. Open project with IDE.
  2. Type shortcut
 CTRL SHIFT F10

or click on the test package and press 'Start AllTests' or run selected tests by your own preferences.

  1. Open Gradle project manager.
  2. Run test task.
  3. Remember about loading all Gradle dependencies.
  4. You can also go to Main class in application package and run the Main.class.

Deployment

No additional deployments at this moment.

Built With

  • Gradle - Dependency management

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Here is a place for You !

About

Infinite runner type game - tiny Panda's adventures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages