From 90acbdf0866842a4695848c5fcd9ecf261a4040b Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 23 Feb 2020 16:48:59 +0100 Subject: updated the default round time --- src/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.go b/src/config.go index 577862c..706d29e 100644 --- a/src/config.go +++ b/src/config.go @@ -2,6 +2,7 @@ package main import ( "flag" + "time" "github.com/sirupsen/logrus" ) @@ -14,7 +15,7 @@ func parseConfig() Config { bits := flag.Int("bits", 32, "bot bitness (8|16|32|64)") maxProgSize := flag.Int("maxProgSize", 64, "the maximum bot size") memPerBot := flag.Int("memPerBot", 512, "the amount of memory each bot should add to the arena") - gameRoundDuration := flag.Duration("t", 250, "The duration of a round") + gameRoundDuration := flag.Duration("t", 250*time.Millisecond, "The duration of a round") v := flag.Bool("v", false, "info") vv := flag.Bool("vv", false, "debug") -- cgit 1.4.1