aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-07 14:33:53 -0700
committerTom Rini <trini@konsulko.com>2023-04-06 19:10:08 -0400
commita554ee7edee8e10b38c6899ad8556daf58ca3afe (patch)
tree193a646521cf659f333c5e1c11745116259b0477 /cmd/Kconfig
parentf3bb055ecb3f3fde701d22f4d245ad6b4cba06e6 (diff)
downloadu-boot-a554ee7edee8e10b38c6899ad8556daf58ca3afe.zip
u-boot-a554ee7edee8e10b38c6899ad8556daf58ca3afe.tar.gz
u-boot-a554ee7edee8e10b38c6899ad8556daf58ca3afe.tar.bz2
cmd: Add 2048 game
Add the 2048 game, a good demo of ANSI sequences and a way to waste a little time. Bring it it from Barebox, modified for code style. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 091a0ee..e45b884 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1941,6 +1941,17 @@ endif
menu "Misc commands"
+config CMD_2048
+ bool "Play 2048"
+ help
+ This is a simple sliding block puzzle game designed by Italian web
+ developer Gabriele Cirulli. The game's objective is to slide numbered
+ tiles on a grid to combine them to create a tile with the number
+ 2048.
+
+ This needs ANSI support on your terminal to work. It is not fully
+ functional on a video device.
+
config CMD_BMP
bool "Enable 'bmp' command"
depends on VIDEO