Mercurial > vba-clojure
annotate clojure/com/aurellem/exp/struggle.txt @ 573:40f62391db9d
implemented row and column increment logic.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 01 Sep 2012 03:56:30 -0500 |
parents | d7f2e0384d24 |
children |
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 |
rlm@216 | 32 |
rlm@216 | 33 |
rlm@216 | 34 |
rlm@216 | 35 |
rlm@216 | 36 (def jiggly-lvl-3 (read-state "jiggly-lvl-3")) |
rlm@216 | 37 |
rlm@216 | 38 (def jiggly-4-pp (read-state "jiggly-4-pp")) |
rlm@216 | 39 |
rlm@216 | 40 (def jiggly-3-pp (read-state "jiggly-3-pp")) |
rlm@216 | 41 |
rlm@216 | 42 (def jiggly-2-pp (read-state "jiggly-2-pp")) |
rlm@216 | 43 |
rlm@216 | 44 (def jiggly-1-pp (read-state "jiggly-1-pp")) |
rlm@216 | 45 |
rlm@216 | 46 (def jiggly-0-pp (read-state "jiggly-0-pp")) |
rlm@216 | 47 |
rlm@216 | 48 (def jiggly-struggle-once (read-state "jiggly-struggle-once")) |
rlm@216 | 49 |
rlm@216 | 50 |
rlm@216 | 51 (def syn-jiggly-4-pp (read-state "syn-jiggly-4-pp")) |
rlm@216 | 52 (def syn-jiggly-3-pp (read-state "syn-jiggly-3-pp")) |
rlm@216 | 53 (def syn-jiggly-2-pp (read-state "syn-jiggly-2-pp")) |
rlm@216 | 54 (def syn-jiggly-1-pp (read-state "syn-jiggly-1-pp")) |
rlm@216 | 55 (def syn-jiggly-0-pp (read-state "syn-jiggly-0-pp")) |
rlm@216 | 56 |
rlm@216 | 57 Turns out that the pp for the non-existent moves |
rlm@216 | 58 for the synthetic jigglypuff were not zeroed, causing |
rlm@216 | 59 struggle to fail. Not really an exciting conclusion, but |
rlm@216 | 60 there it is. |