/RailwayWars-CSharp

A sample bot in C# for https://github.com/ksuszka/RailwayWars game.

Primary LanguageC#ISC LicenseISC

RailwayWars-CSharp

Sample bot code in C# for https://github.com/ksuszka/RailwayWars game.

How to use it

  1. Clone repository and rename project/solution to your preferred name.
  2. Set proper server hostname and player id in the app.config file.
  3. Write your bot logic in BotEngine.cs and GameBoardState.cs files.
  4. Win ;)

This default implementation doesn't do much - it just buys random cells for all available money.