Play a Game of 2048 in the Console

Generates a game of 2048 that can be played in the console. Supports grids of arbitrary sizes, undoing the last move, and resuming a game that was exited during the current session.


twenty48

License:MIT R buildstatus

A clone of Gabriele Cirulli’s 2048 in R.

Installation

You can install the released version of twenty48 from CRAN with:

install.packages("twenty48")

or the development version from GitHub with:

# install.packages("pak")
pak::pkg_install("rossellhayes/twenty48")

Example

Gameplay recording


Hex sticker font is Source Sans by Adobe.

Recording made with ScreenToGif by Nicke Manarin.

Please note that twenty48 is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("twenty48")

0.2.1 by Alexander Rossell Hayes, 4 years ago


https://github.com/rossellhayes/twenty48


Report a bug at https://github.com/rossellhayes/twenty48/issues


Browse source code at https://github.com/cran/twenty48


Authors: Alexander Rossell Hayes [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports crayon, R6, rstudioapi


Imported by player.


See at CRAN