tag:blogger.com,1999:blog-5558410860908654317.post8796701739359375703..comments2023-06-02T01:18:17.197-07:00Comments on Fun Code: Another Tetris Clone in ClojureMark Bastianhttp://www.blogger.com/profile/17120391255299566028noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5558410860908654317.post-69064932148643660782016-04-07T19:00:10.250-07:002016-04-07T19:00:10.250-07:00Quick repl check:
(doseq [r (:J shapes/shapes)] (...Quick repl check:<br /><br />(doseq [r (:J shapes/shapes)] (prn r))<br />[0 0 0]<br />[1 1 1]<br />[0 0 1]<br />=> nil<br />(doseq [r (-> :J shapes/shapes rules/rotate-ccw)]<br />(prn r))<br />[0 1 0]<br />[0 1 0]<br />[1 1 0]<br />=> nil<br /><br />Indeed you are correct. It has been fixed.Mark Bastianhttps://www.blogger.com/profile/17120391255299566028noreply@blogger.comtag:blogger.com,1999:blog-5558410860908654317.post-5094733188870656942016-04-07T16:43:56.948-07:002016-04-07T16:43:56.948-07:00Really like this kind of post - not just about dat...Really like this kind of post - not just about data-driven design but also about games :)<br /><br />Small quibble, but should rotate-cw be rotate-ccw and vice versa?<br /><br />Unknownhttps://www.blogger.com/profile/01925853708188876938noreply@blogger.com