annotate clojure/com/aurellem/exp/struggle.txt @ 214:62969eb07e04

fixed give-pokemon to give a properly formatted pokemon for pokemon with less than 4 moves.
author Robert McIntyre <rlm@mit.edu>
date Fri, 23 Mar 2012 19:25:21 -0500
parents
children d7f2e0384d24
rev   line source
rlm@214 1 ;; struggle works
rlm@214 2
rlm@214 3 [ccd5 (4 5 6 7 8)]
rlm@214 4 [cfe8 (5 4 3 2 1)]
rlm@214 5 [d02c (4 3 2 1 0)]
rlm@214 6 [d187 (4 3 2 1 0)]
rlm@214 7
rlm@214 8 ;; struggle doesn't work
rlm@214 9
rlm@214 10 [ccd5 (0 1 2 3 4)]
rlm@214 11 [cfe8 (0 4 3 2 1)]
rlm@214 12 [d02c (32 3 2 1 0)]
rlm@214 13 [d187 (4 3 2 1 0)]
rlm@214 14
rlm@214 15
rlm@214 16
rlm@214 17
rlm@214 18
rlm@214 19
rlm@214 20
rlm@214 21 ran:
rlm@214 22
rlm@214 23 (clojure.pprint/pprint (temporal-compare jiggly-4-pp jiggly-3-pp
rlm@214 24 jiggly-2-pp jiggly-1-pp jiggly-0-pp))
rlm@214 25
rlm@214 26 and:
rlm@214 27
rlm@214 28 (clojure.pprint/pprint (temporal-compare syn-jiggly-4-pp
rlm@214 29 syn-jiggly-3-pp syn-jiggly-2-pp syn-jiggly-1-pp syn-jiggly-0-pp))
rlm@214 30
rlm@214 31 to generate the above, then filtered manually