2048

2048 for your Linux terminal

SYNOPSIS

2048 [mode]

DESCRIPTION

This manual page documents briefly the 2048 command.

The 2048 game is a mathematics based puzzle game where you have to slide tiles in a 4x4 board in any of the four possible directions by using the arrow keys.

Touching tiles with the same value are then merged into tiles with the added value of the merged ones.

You start with a randomly placed pair of 2-valued tiles. New tiles with a value of 2 appear randomly in a free position after sliding. To win you have to reach a tile with a value of 2048 before the board is full.

OPTIONS

Only one argument is allowed, which allows selecting different colors from the original and running internal tests. Current supported values for mode are:

blackwhite

Runs the program in black and white color scheme.

bluered

Runs the program in blue-to-red color scheme (requires 256-color support on terminal).

test

Runs internal tests, a good idea before committing changes to the code.

AUTHORS

Maurits van der Schee

Wrote the 2048 program.

Ricardo Mones <mones@debian.org>

Wrote this manpage for the Debian™ system.

LICENSE

Copyright © 2020 Ricardo Mones

This manual page was written for the Debian™ distribution (but may be used by others) because the original program does not have a manual page.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copied to clipboard