2048 Game in Elixir for Practice
I wrote an implementation of the well known 2048 game to practice my Elixir skills. Originally it should have been a Phoenix application using channels to communicate with the frontend, but it ended out with an “offline” app running in the shell using ASCII as UI elements.
It uses tty_sl
to grap arrow keys from the shell.
Screenshot:
Source code here: https://github.com/lasseebert/two48
Hopefully someone can learn something from this :)