Skip to content

MutantPigeon24/2015-SpaceInvaders-Bot-CSharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C#

If you plan to develop your entry in C# you need to download and install Visual Studio Express 2013.

Get The Code

Download the zip file from Github or use Git to clone the repository:

  • Start Git Bash
  • Change to the directory where you want to checkout the sample bot
  • Run: git clone https://github.com/EntelectChallenge/2015-SpaceInvaders-Bot-CSharp.git

Compile

The easiest way to compile is to open the solution (BasicBot.sln) in Visual Studio and to select Build -> Build Solution from the menus.

You will need to test that your project compiles from the command prompt as well and for this you'll need a Visual Studio Command Prompt. If this was not added to your start menu during the Visual Studio installation follow the instructions in this stackoverflow post to add it to your Visual Studio tools menu.

Once you have a working Visual Studio Command Prompt simply start it, change to the project directory and run compile.bat.

Run

Once you have compiled you can do a basic test of the bot by simply launching a Command Prompt, changing to the bot directory and running run.bat BasicBot/output. This will use the example state and map files in the BasicBot/output folder.

NuGet

If your bot depends on any libraries you can install them with the NuGet Package Manager.

Be sure to test that package restore is working so that running your compile.bat will fetch your dependencies before your bot is run.

About

An example C# bot for the 2015 R100K challenge.

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C# 96.8%
  • Shell 3.2%