mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-07-07 12:28:55 +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))
|
worlds))
|
||||||
robot-idx)))
|
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}
|
(let [{:keys [brain registers] :as robot}
|
||||||
(get-robot worlds world-tick-idx robot-idx)]
|
(get-robot worlds world-tick-idx robot-idx)]
|
||||||
(pprint
|
(pprint
|
||||||
|
Loading…
Reference in New Issue
Block a user