3 ms·
I read the source code to this a few weeks ago and got inspired to write my own 2048 clone in my Lisp of choice: Guile Scheme. It was a fun little hack. Here'
by davexunit 13y ago
I read the source code to this a few weeks ago and got inspired to write my own 2048 clone in my Lisp of choice: Guile Scheme. It was a fun little hack.
Here's a screenshot after I mashed the arrow keys until I lost:
http://media.dthompson.us/mgoblin_media/media_entries/3/Screenshot_from_2014-03-31_163501.png http://media.dthompson.us/mgoblin_media/media_entries/3/Scre...
And the source (warning, messy):
https://gitorious.org/guile-2d/guile-2d/source/a316893a68ae44a100d6dc5be34bf2c7d582e9ca:examples/guile-2048/guile-2048.scm https://gitorious.org/guile-2d/guile-2d/source/a316893a68ae4...
- 616c 13y agoPlease keep it up. I go through the motions of reading about many different languages and technologies, and seeing your HN comments about your Guile work keep me coming back.
- davexunit 13y agoThanks for the encouragement!
- derengel 13y agodid you use gtk bindings?
- davexunit 13y agoNo, I used my work-in-progress game engine that uses an SDL and OpenGL.
- naa42 13y agoYou've inspired me to publish my own version of 2048 for PalmOS, that I've written several weeks ago. It is also in Scheme. https://github.com/naa/2048-palm https://github.com/naa/2048-palm
- davexunit 13y agoThis is awesome. The source code is very short and concise. Thanks for sharing.