The automation tower defense RTS
Go to file
Andreas Heiskanen 609565af5f Tests: Add tests for addDarkness() in World.java (#412)
* Tests: Add tests for addDarkness() in World.java

Add Junit tests for the addDarkness found in core/src/io/anuke/mindustry/core/World.java

* Refactor: Remove code duplication

Remove code duplication in WorldTests. Invoke launchApplication directly from ApplicationTests.

* BugFix: Assign Tiles[][] tiles used for testing. 

Add assignment of Tiles[][] tiles separately when invoking ApplicationTests.launchApplication.
2019-03-12 13:08:35 -06:00
android Fixed misc compile errors 2019-03-12 13:46:40 -04:00
annotations
core Fixed editor placing blocks at 0 health 2019-03-12 14:57:10 -04:00
desktop
gradle/wrapper
ios
net
server Fixed misc compile errors 2019-03-12 13:46:40 -04:00
tests Tests: Add tests for addDarkness() in World.java (#412) 2019-03-12 13:08:35 -06:00
tools
.gitignore
.travis.yml
build.gradle
gradle.properties
gradlew
gradlew.bat
LICENSE
README.md
run-server
settings.gradle
TRANSLATING.md

Imgur

Build Status Discord

A sandbox tower defense game written in Java.

Trello Board
Wiki

Building

Bleeding-edge live builds are generated automatically for every commit. You can see them here.

If you'd rather compile on your own, follow these instructions. First, make sure you have Java 8 and JDK 8 installed. Open a terminal in the root directory, cd to the Mindustry folder and run the following commands:

Windows

Running: gradlew desktop:run
Building: gradlew desktop:dist

Linux/Mac OS

Running: ./gradlew desktop:run
Building: ./gradlew desktop:dist

Server

Server builds are bundled with each released build (in Releases). If you'd rather compile on your own, replace 'desktop' with 'server', e.g. gradlew server:dist.


Gradle may take up to several minutes to download files. Be patient.
After building, the output .JAR file should be in /desktop/build/libs/desktop-release.jar for desktop builds, and in /server/build/libs/server-release.jar for server builds.

Downloads