An implementation of the 2048 game in J.
The basic game engine is described in the engine.ijs script.
A console interface is available in ui_console.ijs.
A graphical interface is provided in ui_wd.ijs.
Also available as the games/2048 addon from the J Application Library using the J Package Manager.