From 87142c0cb5f42d877327c357497a5be6f3c5dbd0 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 9 Apr 2023 00:37:54 +0200 Subject: Should work, lol --- src/main.go | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/main.go (limited to 'src/main.go') diff --git a/src/main.go b/src/main.go deleted file mode 100644 index d5e0107..0000000 --- a/src/main.go +++ /dev/null @@ -1,27 +0,0 @@ -package main - -func main() { - - // initialize the game by parsing the config, defining the bots, building the - // bots and generating random offsets where the bots should be placed in - // memory - config := parseConfig() - defineBots(&config) - buildBots(&config) - genRandomOffsets(&config) - - // initialize the arena (allocate memory + initialize the ESIL VM & stack) - r2p := initArena(&config) - - // place the bots in the arena - placeBots(r2p, &config) - - // if an error occurs (interrupt, ioerror, trap, ...), the ESIL VM should set - // a flag that can be used to determine if a player has died - defineErrors(r2p) - - // run the actual game - runGame(r2p, &config) - - r2p.Close() -} -- cgit 1.4.1