From 190153620b24d868cb76483862628eac273b1d1c Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 22 Feb 2020 16:56:04 +0100 Subject: more struct fields --- src/structs.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/structs.go b/src/structs.go index b8d63a7..d0a683c 100644 --- a/src/structs.go +++ b/src/structs.go @@ -27,4 +27,12 @@ type Bot struct { // Source defines the source of the bot after being compiled with rasm2 Source string + + // Addr defines the initial address the bot is placed at + Addr int + + // Regs defines the state of the registers of the bot + // It is used to store the registers after each round and restore them in the + // next round when the bot's turn has come + Regs string } -- cgit 1.4.1