about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/structs.go8
1 files changed, 8 insertions, 0 deletions
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
 }