Base: Improve 2048 manpage

This commit is contained in:
Cubic Love 2024-01-06 19:21:36 +00:00 committed by Sam Atkins
parent b812ccd5e8
commit 8538d6e64f

View file

@ -12,12 +12,22 @@ $ 2048
## Description
2048 is a game where the goal is to combine tiles by sliding them together until making a tile with the number 2048 on it.
`2048` is the Serenity implementation of the 2014 game by [Gabriele Cirulli](https://github.com/gabrielecirulli/2048).
The tiles can be moved by pressing the arrow keys and they will combine when they are next to each other.
The game begins with a 4x4 grid containing two tiles, each with a value of 2 or 4.
Use the arrow keys (or WASD) to move all tiles up, down, left, or right. When two tiles with the same number collide, they merge into one with the sum of their values. A new tile appears in a random empty space after each move. The goal is to combine tiles until they reach 2048, though gameplay can extend beyond this point. The game ends when the grid is full, and no more moves are possible.
This implementation supports Undo (`Ctrl+Z`) and Redo (`Shift+Ctrl+Z`).
Press `F2` to start a new game.
## Settings
The game size, goal and difficulty can be changed in the settings.
Modify game size, goal and difficulty in the settings. The options are:
The Evil AI setting will allow the game engine to choose the worst possible square to place the new tile. Normal mode will place it at a random spot.
* **Board Size** - Set the grid to the chosen number squared.
* **Target Tile** - The winning number, a power of two (e.g. 11 for 2048, 12 for 4096).
* **Evil AI** - Generates new tiles with the worst possible place and value.
* **Temporarily apply changes** - Changes to settings won't persist between sessions.
Start a new game for changes to apply.