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/Scre...
And the source (warning, messy): https://gitorious.org/guile-2d/guile-2d/source/a316893a68ae4...
Please 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.
Thanks for the encouragement!
You'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
This is awesome. The source code is very short and concise. Thanks for sharing.
did you use gtk bindings?
No, I used my work-in-progress game engine that uses an SDL and OpenGL.
Actually, the one on MELPA appears to be a different implementation. There was some discussion about it on reddit: http://www.reddit.com/r/emacs/comments/21mklt/2048_puzzle_in...
https://github.com/sprang/emacs-2048
Correction: Steve's above code is another implementation.
Colorization is against Zachary Kanfer's (zck) implementation in MELPA, which is here:
https://bitbucket.org/zck/2048.el
And don't miss David Thompson's (davexunit) Guile version mentioned below.
I'd much prefer to see these core code packages in the spotlight over the OP's mere colorization link.