GREED(6)
π GREED(6) π
okay bestie, sit down, we're playing greed β the section 6 game, the one where you literally just eat the whole screen until you can't move anymore. no cap. let's go π¦
β¨ NAME β¨
greed β eat a game field until you run out of moves π½οΈ
β¨ SYNOPSIS β¨
greed [-s] [-w width] [-h height] [-f] [-p] [-r seed]
β¨ DESCRIPTION β¨
so the whole point of Greed (main character energy fr) is to erase as much of the screen as you possibly can by moving around in a grid of numbers. that's it. that's the game. π
to move your cursor, just use your arrow keys, or the hjklyubn keys, or your numeric keypad (with Num Lock on). your location is signified by the @ symbol β that's you, bestie, you're the @ π
here's the diagram showing how the basic movement keys work:
y k u 7 8 9
\|/ \|/
h-+-l 4-+-6
/|\ /|\
b j n 1 2 3
when you move in a direction, you erase N number of grid squares in that direction, where N is the first number in that direction. your score reflects the total number of squares eaten. obsessed tbh πΈ
Greed will not let you make a move that would have placed you off the grid or over a previously eaten square. literally refused. π if no valid moves exist, your game ends. periodt.
other Greed commands you need to know:
- Ctrl+L to redraw the screen π
pto toggle the highlighting of the possible moves β¨qto quit π
β¨ OPTIONS β¨
-wwidth β sets the width of the board π-hheight β sets the height of the board π-fβ sizes the board to fit your terminal window πͺ-pβ displays all your next possible moves with a reverse-video highlight π (during the game,ptoggles this feature on and off)-rseed β sets the random seed π² (useful for reproducible games, iykyk)-sβ output the high score file π
β¨ ENVIRONMENT β¨
the environment variable GREEDOPTS can override the default color set, and it gets parsed as a string of the form:
<c1><c2><c3><c4><c5><c6><c7><c8><c9>[:[p]]
where <cn> is a character describing the color for digit n. the color letters are read as follows:
b= blueg= greenc= cyanr= redm= magentay= yelloww= white
also, capitalizing a letter turns on the A_BOLD attribute for that letter. bold AND colorful, we love to see it π
if the string ends with a trailing :, the letters following are taken as game options. at present, only p (equivalent to an initial p command) is defined.
β¨ FILES β¨
/usr/lib/games/greed.hsβ default location of Greed high scores π~/.greedscoresβ where they're put if the default location cannot be written to π
β¨ AUTHORS == ORIGINALLY WRITTEN β¨
written by Matt Day. maintained by esr@snark.thyrsus.com. see ESR's home page at http://www.catb.org/~esr/ for updates and other resources π«Ά
β¨ BUGS β¨
this really ought to be an X game, but that would have been too much like work ππ
so that's the whole page, bestie π this is GREED(6) from 2026-05-21 β go eat the grid, no cap πβ¨
π¦ where this page comes from
- ubuntu stonking: greed 4.5-3 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms