mirror of
https://github.com/richardharrington/robotwar.git
synced 2026-04-20 23:17:04 +00:00
added docstring to tick-robot
This commit is contained in:
@@ -65,7 +65,10 @@
|
||||
(conj return-state {:action unresolved-arg-val})
|
||||
return-state)))))
|
||||
|
||||
(defn init-robot [program]
|
||||
(defn init-robot
|
||||
"initialize all the state variables that go along
|
||||
with the robot program when it's running."
|
||||
[program]
|
||||
{:program program
|
||||
:acc 0
|
||||
:instr-ptr 0
|
||||
|
||||
Reference in New Issue
Block a user