From 8538d6e64f444da5e048c0b887f457417b487528 Mon Sep 17 00:00:00 2001 From: Cubic Love <7754483+cubiclove@users.noreply.github.com> Date: Sat, 6 Jan 2024 19:21:36 +0000 Subject: [PATCH] Base: Improve 2048 manpage --- Base/usr/share/man/man6/2048.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Base/usr/share/man/man6/2048.md b/Base/usr/share/man/man6/2048.md index 3c772ae86d1b14..6c67a908aba61f 100644 --- a/Base/usr/share/man/man6/2048.md +++ b/Base/usr/share/man/man6/2048.md @@ -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: + +* **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. -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. +Start a new game for changes to apply.