
About
2048 is a single-player sliding-tile puzzle game created by Gabriele Cirulli and released in 2014, in which numbered tiles are combined on a grid to try to reach a tile numbered 2048. play-2048 is a Rust implementation of 2048 that runs in the terminal, playable manually or by an included AI that uses the expectiminimax algorithm to recommend or perform moves automatically.
How it differs from the original
Beyond its terminal interface, it adds an AI autoplay mode not present in the original browser game, capable of reaching high tiles like 8192 and 16384 in most runs according to the project's own benchmark table.
Getting started
Install Rust and cargo, then install the game from crates.io or build it from source and run it from the terminal; command-line options let you adjust the probability of drawing a 4 tile and the AI's search parameters.