blob: b8d63a7a820553bf0dc2dcac8df9419d0ebbfcf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package main
// Config defines the meta config
type Config struct {
// Arch defines the architecture the battle should run in
Arch string
// Bits defines the bitness
Bits int
// Memsize defines the arena size
Memsize int
// MaxProgSize defines the maximal bot size
MaxProgSize int
// Bots defines a list of bots to take part in the battle
Bots []Bot
}
// Bot defines a bot
type Bot struct {
// Path defines the path to the source of the bot
Path string
// Source defines the source of the bot after being compiled with rasm2
Source string
}
|