XBomb(6)
π XBOMB π
okay bestie, so <rainbow>xbomb</rainbow> is a version of the popular minesweeper program, except it comes with some novel features. that's it, that's the pitch. π
β¨ SYNOPSIS β¨
xbomb [-hexagon|-square|-triangle] [-1|-2|-3] [-hiscore]
π OPTIONS π
-hiscoreβ this command line option just shows you the current hi-score table and then dips, like it doesn't even start the game. pure flex. π-hexagon|-square|-triangleβ picks which kind of grid you get when the game starts up. your vibe, your choice. π¦-1|-2|-3β picks which level you're playing when the game starts up.
also the standard X window options apply to this program too, so don't come for me if you use those, they work. π
πΈ DESCRIPTION πΈ
it's a game of logical deduction against the clock, bestie. the whole point is finding where the hidden bombs are hiding in a grid. every single location in the grid starts out covered, and when you uncover a location you reveal either a number or a bomb underneath. reveal a bomb and the game is done, over, that's the run. π
a number is telling you how many of the adjacent locations have bombs in them. and if a location is still covered but you're like "yeah that's a bomb fr fr", you can mark it so you can keep track of it. π
so there's a choice of hexagonal, square or triangular units making up the grid, and the difficulty goes up as the number of sides goes down. in all cases the grids are the same size and have the same number of bombs for the same levels. no cap.
there are three levels, here's the tea:
- Easy β 8 by 8 grid with 10 bombs.
- Medium β 16 by 16 grid with 40 bombs.
- Difficult β 30 by 16 grid with 99 bombs.
and a high score table is kept for each of the levels, for each of the grid types, storing the username, the time to complete the puzzle and the date that it was finished. the way it's giving hall of fame. β
π±οΈ MOUSE OPERATION π±οΈ
the game is played with the mouse, and all three buttons do different things. yes, all three. not me using the middle button by accident the first time π
- Left Button β uncover the current location if it's hidden, or uncover all the surrounding locations marked as not containing bombs if the square is already uncovered. and here's the cute part: the first selection made in a game is always a 'safe' square. she's got your back. π«Ά
- Middle Button β uncover all surrounding locations that are not marked as containing a bomb.
- Right Button β mark the current grid location as having a hidden bomb (it's a toggle, so tap it again to un-mark).
β¨οΈ KEYSTROKES β¨οΈ
there are a bunch of keystroke shortcuts for the game, and honestly they're iconic:
123β select level 1, 2 or 3 for the next game.sβ start a new game.qβ quit the program.hβ print the high-scores.HorControl-Hβ use the grid of hexagons for the next game.SorControl-Sβ use the grid of squares for the next game.TorControl-Tβ use the grid of triangles for the next game.
π X RESOURCES π
the name of the class used is XBomb, and the widget hierarchy used is (Widget-Class:name):
XBomb
Form:form
Command:start
MenuButton:menu
SimpleMenu:levelmenushell
smeBSBObject:Easy
smeBSBObject:Medium
smeBSBObject:Difficult
MenuButton:menu
SimpleMenu:typemenushell
smeBSBObject:Hexagon
smeBSBObject:Square
smeBSBObject:Triangle
Command:hiscore
Command:quit
Core:grid
Command:clock
Command:uxb
and the extra resources available for the grid are:
grid.bombβ the colour of the bombs. defaultblack.grid.bombrealβ the colour of the real bombs. defaultred.grid.bombmarkβ the colour of the bombs that are marked by the user. defaultorange.grid.numberβ the colour of the number '1' when it's drawn in the grid. defaultnavy blue.grid.number2β the colour of the number '2' when it's drawn in the grid. defaultdark green.grid.number3β the colour of the number '3' when it's drawn in the grid. defaultdark red. and the other numbers up to 12 also have their own resources. yes really, all of them. πgrid.hiddenβ the colour of the hidden squares. defaultgrey50.grid.correctβ the colour of the squares that were correctly guessed. defaultgreen.grid.fontβ the font that's used for the number in the grid. defaultlucidasans-24.
π BUGS π
none known. she's perfect, your honour. β¨
π AUTHOR π
Andrew M. Bishop.
okay that's the whole page, bestie, you're fully caught up π§π
this was the XBomb(6) page from the Games Manual, dated January 5, 2008. slay. πΈπ
π¦ where this page comes from
- debian bookworm: xbomb 2.2b-1+b1 Β· GPL-2.0-or-later
- debian trixie: xbomb 2.2b-2.1 Β· GPL-2.0-or-later
- ubuntu jammy: xbomb 2.2b-1build1 Β· GPL-2.0-or-later
- ubuntu noble: xbomb 2.2b-1build3 Β· GPL-2.0-or-later
- ubuntu questing: xbomb 2.2b-2.1
- ubuntu resolute: xbomb 2.2b-2.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: xbomb 2.2b-2.3 Β· GPL-2.0-or-later
- Copyright 1994-2008 Andrew M. Bishop
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms