X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=README;h=9f80b0456b54b03d322d5aa7c253a17a450d31cb;hb=0e8033daabeddfea46bbb756280292df84cd61af;hp=13d1846d54540617ce3f3e4736c77995da4b849c;hpb=9fb4d88a7e46988c8a4ad22974b1b90fdd4de435;p=plomrogue diff --git a/README b/README index 13d1846..9f80b04 100644 --- a/README +++ b/README @@ -1,4 +1,66 @@ plomrogue ========= -plomlompom tries to build his own RogueLike \ No newline at end of file +plomlompom tries to build his own roguelike. Currently, it doesn't do +much interesting, apart from managing some ncurses windows in a bizarre +fashion. You can move around a player and meet a random number enemies; +they will occasionally hit you on contact, but without consequence to +you: The player has no hitpoints so far. Enemies have 5 hitpoints at +start and disappear if their hitpoints reach 0. The map gets generated +randomly, too. There is only one save file (named "savefile"), and it +gets overwritten each new turn. To start over with a new world, delete +it. + +Install/run +----------- + +Dependencies: the ncurses library. + +git clone https://github.com/plomlompom/plomrogue +cd plomrogue +make +./roguelike + +Default keybindings +------------------- + +Q quit +F1 toggle keybinding editing window +F2 toggle map window +F3 toggle info window +F4 toggle log window + +LEFT scroll windows pad left +RIGHT scroll windows pad right +> cycle window selection forwards +< cycle window selection backwards +y shift window forwards +Y shift window backwards +* grow window horizontally +_ shrink window horizontally ++ grow window vertically +- shrink window vertically + +w scroll map up +x scroll map down +a scroll map left +d scroll map right +t move player up +b move player down +f move player left +h move player rifght +. next turn / wait + +S save current keybindings +UP navigate selection upwards in keybinding editing window +DOWN navigate selection downwards in keybinding editing window +RETURN modify keybinding selected in keybinding editing window + +Replay game recording +--------------------- + +Run "./roguelike -s" to watch a recording of the current game from the +beginning. Hit the "next turn / wait" key to increment turns. Keys to +manage windows, scroll on the map and quit the program are active; keys +to perform player actions are inactive. Append a number to the -s option +(like "-s100") to start the recording at the respective turn number.