mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-07-04 06:29:29 +00:00
changed parameter-pass-in format to ppt in core.clj, to registers flattened in the argument list
This commit is contained in:
parent
7fd4baa3c2
commit
94c069116f
|
@ -37,7 +37,7 @@
|
|||
worlds))
|
||||
robot-idx)))
|
||||
|
||||
(def ppt (fn [worlds world-tick-idx robot-idx & [reg-keys]]
|
||||
(def ppt (fn [worlds world-tick-idx robot-idx & reg-keys]
|
||||
(let [{:keys [brain registers] :as robot}
|
||||
(get-robot worlds world-tick-idx robot-idx)]
|
||||
(pprint
|
||||
|
|
Loading…
Reference in New Issue
Block a user