From f0c4704b2229ceef35ded1c65f05f92f03fe9f41 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 23 Feb 2020 16:42:34 +0100 Subject: more struct fields --- src/structs.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/structs.go b/src/structs.go index d0a683c..c0cddc2 100644 --- a/src/structs.go +++ b/src/structs.go @@ -1,5 +1,7 @@ package main +import "time" + // Config defines the meta config type Config struct { @@ -17,6 +19,15 @@ type Config struct { // Bots defines a list of bots to take part in the battle Bots []Bot + + // AmountOfBots defines the amount of bots taking part in the tournament + AmountOfBots int + + // RandomOffsets defines the offset in memory where the bots should be placed + RandomOffsets []int + + // GameRoundTime defines the length of a gameround + GameRoundDuration time.Duration } // Bot defines a bot -- cgit 1.4.1