Documentation
¶
Overview ¶
Command rabbitrun is Rabbit Run, a short, sweets-themed road runner: steer a bunny up a road of gummy blocks with a character who reacts to your run.
This package only reads the command line and opens the window; the game itself is in internal/game.
Directories
¶
| Path | Synopsis |
|---|---|
|
e2e
|
|
|
runner
command
Command runner bootstraps rabbitrun's end-to-end suite and hands the specs to atago.
|
Command runner bootstraps rabbitrun's end-to-end suite and hands the specs to atago. |
|
internal
|
|
|
assets
Package assets reads the game data under the assets directory: the artwork of the screens (ui/), the gummy blocks (blocks/), the fonts (fonts/) and the characters (characters/).
|
Package assets reads the game data under the assets directory: the artwork of the screens (ui/), the gummy blocks (blocks/), the fonts (fonts/) and the characters (characters/). |
|
character
Package character loads the characters: their manifests (characters/<id>/game.json in the assets directory) and their pictures, the portraits of each situation and the illustrations, decoded on use or ahead in the background.
|
Package character loads the characters: their manifests (characters/<id>/game.json in the assets directory) and their pictures, the portraits of each situation and the illustrations, decoded on use or ahead in the background. |
|
engine
Package engine runs a game of the road in time.
|
Package engine runs a game of the road in time. |
|
game
Package game is Rabbit Run itself: the screens (title, character select, play with its hammer show, miss and ending, the gallery), the background and the gummy blocks, and the scripted runs of --capture and --record-demo.
|
Package game is Rabbit Run itself: the screens (title, character select, play with its hammer show, miss and ending, the gallery), the background and the gummy blocks, and the scripted runs of --capture and --record-demo. |
|
gfx
Package gfx holds the drawing helpers the screens share: rounded panels, pictures fitted or cropped to a box, rounded corners, the palette, and text in the game's fonts (centered, outlined, and as menus).
|
Package gfx holds the drawing helpers the screens share: rounded panels, pictures fitted or cropped to a box, rounded corners, the palette, and text in the game's fonts (centered, outlined, and as menus). |
|
input
Package input reads the player's controls: the keyboard (arrows, WASD and the vi keys) and gamepads, as the actions the game knows.
|
Package input reads the player's controls: the keyboard (arrows, WASD and the vi keys) and gamepads, as the actions the game knows. |
|
save
Package save keeps the save data: each character's progress and the rewards found, kept as JSON in the user's config directory.
|
Package save keeps the save data: each character's progress and the rewards found, kept as JSON in the user's config directory. |
|
sound
Package sound plays the game's music and sound effects.
|
Package sound plays the game's music and sound effects. |
|
Package road is the rule engine of the candy road: a road walled with gummies scrolls down the screen, the player (at the bottom) only moves left and right to stay on it, and picks up the sweets lying on the road.
|
Package road is the rule engine of the candy road: a road walled with gummies scrolls down the screen, the player (at the bottom) only moves left and right to stay on it, and picks up the sweets lying on the road. |
|
scripts
|
|
|
readme
command
Command readme keeps the README's picture counts in step with the assets, and writes the save data the gallery screenshot is taken with.
|
Command readme keeps the README's picture counts in step with the assets, and writes the save data the gallery screenshot is taken with. |
Click to show internal directories.
Click to hide internal directories.















