Nice use of 'import-static' and multimethods for 'paint' ;-)
Personally, I would move (def timer (Timer. turn-millis panel)) to the
end:
(doto panel
(.setFocusable true)
(.addKeyListener panel))
(doto frame
(.add panel)
(.setSize (* width point-size) (* height point-size))
PS: Sometimes the apple is too close to the edge or not seen at all.
Might need to adjust apple position generation.
On Jan 5, 10:26 pm, Fanda fa...@intricatevisions.com wrote:
Nice use of 'import-static' and multimethods for 'paint' ;-)
Personally, I would move (def timer (Timer. turn
Hello all!
I found 2 little things:
1) This Reference isn't updated according to the menu on the left:
http://clojure.org/Reference
2) New files added in the last Clojure check-ins don't have Eclipse
licence, but CPL (for example rev 1193).
Cheers, Frantisek
I am done with first, rest, ffirst, frest, rfirst, rrest, second. They
are ready for check-in as sequences:
http://intricatevisions.com/source/clojure/sequences.clj
[I don't have rights for clojure-contrib and if somebody is willing to
check it in, please do :-) Please, also adjust