Skip to content

postboy/roguehike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

271 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roguehike

A minimalistic roguelike hiking game in Clojure. Go climb a mountain here!

See gameplay on YouTube.

Screenshot.

You are standing at foot of the mountain. If you ascend the mountain and then return to wilderness edge, you win. If you give up and quit, you lose. There is no saving, just as in real life.

Status bar is located at the bottom of the screen. It shows your current stamina in percents of your maximum stamina, current and maximum altitude on this terrain, direction to the summit, and status message. Direction: < means "summit is on the west from you", > means "on the east", ^ means "on the north", v means "on the south". Everything apart status bar is a map shown via top-down view with north on top of the screen.

Use numpad (1-4, 6-9) or vi keys (hjklyubn) for moving. Press 5 or r to rest. Press c to redraw the screen placing user in its center. Press q to quit.

"i" symbol on the screen is you, hiker. Other used symbols and their meanings are:

Non-obstacles:

Symbol Meaning
space ground
. , ` stone
* moss
" tall grass
o small rock
w small bush
t small tree

Obstacles:

Symbol Meaning
0 O big rock
W big bush
T big tree
@ puddle
= fallen tree

And don't forget: mountains are always worth climbing!

Running

First optional argument is terminal type to launch the game in: auto, swing, text, unix, cygwin. Default on *nix: unix, default on Windows: auto.

Building

Requires Leiningen.

To run:

lein run

To build a release jar (pick up standalone one):

lein uberjar

Inspiration

Zmeinaya Mountain (Karelia, Russia) located at 61.480991, 30.217564.

Videos on YouTube: one, two, three.

Photos on LiveJournal: one, two, three.

License

Source code: MIT/X11

Copyright 2024 Ivan Zuboff

Copyright 2012 Steve Losh (his zen project served as base for this one)