Hi, I'm at the moment writing a 2D game 'thing' (wouldn't call it a framework or engine really) I don't have it released yet, but when I do, I'll post it on this list.
In my 'thing', I just do something like this for the game loop(pseudocode): (doseq [frame (iterate #(map act %) initial-state)] (draw frame)) But I'm also still working out the details. I'd love to discuss this once I get the code out there. Good luck! I'm going to try your game once I finish this animation thing. Pepijn On Apr 4, 4:59 pm, Tzach <[email protected]> wrote: > I present my take on the classic Tron game in Clojure, inspired by > Paul Richards Clojuroids and Mark Volkmann Snake games (thanks guys) > > Code and Jar are available > here:https://sites.google.com/site/tzachlivyatan/tron-clone-in-clojure > > Inputs and comments will be appreciated! > > specifically, I'm unhappy with the game loop and key press collection. > I'm currently keeping the entire game state in an atom, and update it > from the key listener and game loop. > I suspect there is a better way. > If anyone have a more generic way to deal with it, please let me know > (maybe a Clojure 2d game wrapper lib?) > > Regards > Tzach -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
