aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 24f44d9363b55c66fe9b7cebe055a3e56ad1cb7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Botleagues

This is a work in progress. Please go away.

## Backyard

### Java engine (java)

In the java folder there's the java engine or GameController. It lets bots compete against each other.

To run, cd into `/backyard/java/trunk/GameController/bin` and do:

    java nl.camilstaps.botleagues.MyGame /path/to/bot1/package.mybot.MyBot /path/to/bot2/package.mybot.MyBot ...

For example, for the example bot in `/backyard/java-bot/trunk`, that would mean:

    java nl.camilstaps.botleagues.MyGame ../../../../java-bot/trunk/bin/nl.camilstaps.botleagues.bot.BotStarter ../../../../java-bot/trunk/bin/nl.camilstaps.botleagues.bot.BotStarter

Note that you can add as many bots as you want. Also, you can add multiple bots of the same type (like in the example). That's not really a feature, but it is useful for debugging.