ForNeVeR / TankDriver

Simple game about tanks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TankDriver Status Umbra Appveyor build status Travis build status

This is a simple game written with MonoGame.

Build

To prepare some image resources, you'lln need [ImageMagick][imagemagick] installed and its' executable files available in PATH environment variable.

Windows

Either use Visual Studio to open and build TankDriver.sln file, or invoke the following commands in developer console:

> nuget restore
> msbuild

Linux

You'll need Mono and NuGet installed.

$ nuget restore
$ xbuild

NixOS

There's a ready nix-shell environment in default.nix. Just invoke the following:

$ nix-shell
$ nuget restore
$ xbuild

Requires NixOS 16.09+

Run

To run the game on Windows, execute the following commands:

> cd TankDriver.App\bin\Debug
> .\TankDriver.App.exe

On Linux:

$ cd TankDriver.App/bin/Debug
$ mono ./TankDriver.App.exe

Program arguments

Use the --console flag if you don't want the game to hide the console window after start (Windows-specific).

Test

This project uses xUnit.net test library. This library provides multiple runners and adapters for various IDE; you're recommended to use whatever fits you better.

The default cross-platform option is to use xunit.runner.console NuGet package to execute tests from TankDriver.Tests assembly. It can be done with the following commands on Windows:

> .\packages\xunit.runner.console.2.1.0\tools\xunit.console.exe .\TankDriver.Tests\bin\Debug\TankDriver.Tests.dll

Or the following commands on Linux:

$ mono ./packages/xunit.runner.console.2.1.0/tools/xunit.console.exe ./TankDriver.Tests/bin/Debug/TankDriver.Tests.dll

License

All the source code of this project is distributed under the MIT license. Check License.md for more information.

All the accompanying image files are licensed under a Creative Commons Attribution 4.0 International License.

About

Simple game about tanks.

License:MIT License


Languages

Language:C# 98.9%Language:Nix 1.1%