This is a simple game written with MonoGame.
To prepare some image resources, you'lln need [ImageMagick][imagemagick]
installed and its' executable files available in PATH
environment variable.
Either use Visual Studio to open and build TankDriver.sln
file, or invoke the following commands in developer console:
> nuget restore
> msbuild
You'll need Mono and NuGet installed.
$ nuget restore
$ xbuild
There's a ready nix-shell environment in default.nix
. Just invoke the
following:
$ nix-shell
$ nuget restore
$ xbuild
Requires NixOS 16.09+
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
Use the --console
flag if you don't want the game to hide the console window
after start (Windows-specific).
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
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.