Giter Club home page Giter Club logo

parkingsimulator's Introduction

rug

This is an AWESOME parkingsimulator inspired by Rollercoaster Tycoon 2.

gif

Build Status BCH compliance

Team

Dependencies

  • Gradle
  • Java 8
  • JRE: 1.8+ 64bit
  • JVM: OpenJDK 64-Bit Server VM by JetBrains

Documentation

Javadoc documentation can be found here

Installation

gradle.properties

org.gradle.java.home=__URL_TO_YOUR_JAVA_HOME__

Replace this with the url of your jdk installation. For example: if you have jdk version 1.8.0_73 installed on Windows. WARNING: Java 9 not supported!

org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_73

Now go to the platform / tool that you would like to use.

Intellij idea

Press ALT + SHIFT + F9 add select edit configuration. (you can add a configuration by clicking on the top left + icon) Now add the following gradle configuration to Intellij and hit apply.

Intellij Gradle run

Now we are going to refresh the dependencies. Go to View -> Tool Windows -> Gradle. And now click on the first icon with the 2 spinning arrows.

Intellij Gradle run

Now hit SHIFT + F9 and enjoy.

Windows

There is a special .bat file that automates the windows pipeline.

.\gradlew.dat desktop:run

In the case this does not work take a look at the Windows Powershell installation or the intellij development installation.

Windows Powershell

Open powershell as an administrator. And run this command below to install chocolatey.

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Now we are going to install gradle by using the chocolatey package manager.

choco install gradle

With gradle we can run the application.

gradle desktop:run

Linux (Ubuntu)

Java 8 or newer should be installed. You can install it by running the following commands. You may need to replace "apt install" with your package managers install command like "yaourt -S" in the case of arch.

apt install openjdk-8-jre
apt install openjdk-8-jrk

On linux your java.home should look like something like this. Depending on what kind of hardware you have, something like "-amd64" could be added in your case. So check if this path exist. Change the gradle.properties file to reflect this.

org.gradle.java.home=/usr/lib/jvm/java-8-openjdk/jre

Next up we can install gradle. You may need to replace "apt install" with your package managers install command.

apt install gradle

With gradle we can run the application.

gradle desktop:run

MAC OS

On MAC OS your java.home should look like something like this. This needs to be changed in the gradle.properties file.

org.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home

We are going to install gradle using brew.

brew install gradle

With gradle we can run the application.

gradle desktop:run

parkingsimulator's People

Contributors

codecasper avatar hilkojj avatar timostrating avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

parkingsimulator's Issues

Reloading after save map reset

Saving the game and reloading it results in a the map being correctly reloaded (i.e. same roads and locations etc), but the money and all of the cars are reset so it does not load in the exact same state that it was saved in.

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.