
About
2048 is a sliding tile puzzle game written by Gabriele Cirulli, released on GitHub in March 2014 as free MIT-licensed software; the goal is to slide numbered tiles together to reach a tile numbered 2048, though play can continue afterward. This is a Rust implementation of 2048 that can be played either in a command-line terminal (using the termion crate) or in a browser via WebAssembly (using the xterm.js library), both sharing the same underlying game-logic library. A live browser demo is hosted online, and it's released under the MIT license.
Getting started
Play it from the command line with cargo run -p wasm_terminal_2048_cli, or build the WebAssembly/browser version with the provided build script and a local Python server.