.github/workflows | ||
devmods | ||
dll | ||
generators | ||
hyperroid | ||
music | ||
rogueviz | ||
sounds | ||
tessellations | ||
.gitignore | ||
.travis.yml | ||
3d-models.cpp | ||
achievement.cpp | ||
arbitrile.cpp | ||
archimedean.cpp | ||
asonov.cpp | ||
attack.cpp | ||
barriers.cpp | ||
basegraph.cpp | ||
bigstuff.cpp | ||
binary-tiling.cpp | ||
blizzard.cpp | ||
cell.cpp | ||
celldrawer.cpp | ||
changelog.txt | ||
checkmove.cpp | ||
classes.cpp | ||
commandline.cpp | ||
complex2.cpp | ||
complex.cpp | ||
config.cpp | ||
content.cpp | ||
control.cpp | ||
COPYING | ||
crystal.cpp | ||
debug.cpp | ||
DejaVuSans-Bold.ttf | ||
dialogs.cpp | ||
direntx.h | ||
Doxyfile | ||
dpgen.cpp | ||
drawing.cpp | ||
earcut.hpp | ||
embuild.sh | ||
environment.cpp | ||
euclid.cpp | ||
expansion.cpp | ||
fake-mobile.cpp | ||
fake.cpp | ||
fieldpattern.cpp | ||
flags.cpp | ||
floorshapes.cpp | ||
FUNDING.yml | ||
game.cpp | ||
geom-exp.cpp | ||
geometry2.cpp | ||
geometry.cpp | ||
glhr.cpp | ||
goldberg.cpp | ||
graph.cpp | ||
help.cpp | ||
heptagon.cpp | ||
history.cpp | ||
honeycomb-rules-435.dat | ||
honeycomb-rules-534.dat | ||
honeycomb-rules-535.dat | ||
hprint.cpp | ||
hr-icon.ico | ||
hud.cpp | ||
hyper_function.h | ||
hyper-main.cpp | ||
hyper.cpp | ||
hyper.h | ||
hyper.rc | ||
hyperpoint.cpp | ||
hyperrogue-music.txt | ||
hyperweb.cpp | ||
hypgraph.cpp | ||
inforder.cpp | ||
inventory.cpp | ||
irregular.cpp | ||
items.cpp | ||
kite.cpp | ||
landgen.cpp | ||
landlock.cpp | ||
langen.cpp | ||
language-cz.cpp | ||
language-de.cpp | ||
language-pl.cpp | ||
language-ptbr.cpp | ||
language-ru.cpp | ||
language-tr.cpp | ||
language.cpp | ||
legacy.cpp | ||
locations.cpp | ||
Makefile | ||
Makefile.rv | ||
makeh.cpp | ||
mapeditor.cpp | ||
mapeffects.cpp | ||
menus.cpp | ||
mingw.condition_variable.h | ||
mingw.invoke.h | ||
mingw.mutex.h | ||
mingw.shared_mutex.h | ||
mingw.thread.h | ||
mobile.cpp | ||
models.cpp | ||
monstergen.cpp | ||
monstermove.cpp | ||
multi.cpp | ||
multigame.cpp | ||
mymake.cpp | ||
netgen.cpp | ||
nofont.cpp | ||
nonisotropic.cpp | ||
orbgen.cpp | ||
orbs.cpp | ||
papermodeldata-help.txt | ||
papermodeldata.txt | ||
passable.cpp | ||
pattern2.cpp | ||
patterns.cpp | ||
pcmove.cpp | ||
polygons.cpp | ||
quit.cpp | ||
quotient.cpp | ||
racing.cpp | ||
radar.cpp | ||
raycaster.cpp | ||
README.md | ||
reg3.cpp | ||
renderbuffer.cpp | ||
rug.cpp | ||
savemem.cpp | ||
savepng.cpp | ||
savepng.h | ||
scores.cpp | ||
screenshot.cpp | ||
shaders.cpp | ||
shmup.cpp | ||
shyp-geodesics.dat | ||
sky.cpp | ||
solv-geodesics.dat | ||
sound.cpp | ||
source-doc.md | ||
sphere.cpp | ||
ssol-geodesics.dat | ||
surface.cpp | ||
sysconfig.h | ||
system.cpp | ||
textures.cpp | ||
tour.cpp | ||
usershapes.cpp | ||
util.cpp | ||
vr.cpp | ||
wfcgen.cpp | ||
yendor.cpp |
HyperRogue
Current version: 11.3f
A puzzle roguelike in the hyperbolic plane. See the HyperRogue website for detailed and most up-to-date information. Compiled executables can be downloaded from itch.io and from the HyperRogue website.
Released under GNU General Public License, version 2. As such, it comes without any warranty.
If you would like to thank me for HyperRogue, you can support the development by buying paid versions (with more up-to-date content and some social and competitive features), or in other ways. You can contact me at zeno@attnam.com, or at my blog, or via Twitter.
The game
You are a lone outsider in a strange, non-Euclidean world. You can move with the numpad, vi keys (hjklyubn), or mouse. You can also skip turns by pressing ".".
As a Rogue, your goal is to collect as many treasures as possible. However, collecting treasures attracts dangerous monsters (on the other hand, killing the monsters allows more treasures to be generated).
You can kill most monsters by moving into them. Similarly, if the monster was next to you at the end of your turn, it would kill you. The game protects you from getting yourself killed accidentally by ignoring moves which lead to instant death (similar to the check rule from Chess).
Ultimately, you will probably run into a situation where monsters surround you. That means that your adventure is over, and you will have to teleport back to the Euclidean world to survive by pressing Escape (quit).
Collecting enough treasure also allows you to find rare magical orbs, which grant you one-time or time-limited special abilities.
The world is a combination of over 60 types of lands. Each land type has specific style (monsters, treasure, magical orbs, terrain features). Collecting treasures only attracts more monsters in lands of the same type, so you can try to collect lots of treasure in several different lands!
Some of these lands are available from the beginning, others can be found only if you have proven yourself (press ESC to know what you should do to access more lands). Ultimately, you will be able to access Hell, and look for the fabulous Orbs of Yendor which are hidden there. Get at least one of them to prove that you are a true winner! Only the best players will be able to face the challenges of Hell, but both the monsters and the challenges associated with the Orbs of Yendor are different than in the rest of the game, so it should be worth it.
You can see tooltips by placing the mouse over stuff. You can also right click to get more information about game objects.
Press v to configure the game. You can also rotate the world by pressing arrow keys, PageUp and PageDn (not numpad). You can center on the PC by pressing Home.
Your scores and other stats about your games are recorded to file hyperrogue.log (in Linux, ~/.hyperrogue.log). You can save your configuration to file hyperrogue.ini (in Linux, ~/.hyperrogue.ini).
The surface the game is played on is called a hyperbolic plane. It seems there is just a very small amount of games and other works of art which use hyperbolic geometry (the most well known are some works of M.C. Escher).
The game dynamically generates new parts of the world as you move. Due to nature of the hyperbolic plane, the chances that you get back to a place where you have been before are very low (unless you go back exactly the same way). See more information about the geometry used on the blog.
You can aim for the Orb of Yendor, or you can simply aim for as high score as possible.
Modifications
OK, now lots of the above can be changed. You can change the geometry and topology (to Euclidean, spherical, or even to nonisotropic 3D geometries). You can play challenges based on various in-game quests, and even try some other game genres in non-Euclidean spaces (roguelite aka shmup, racing, peaceful puzzles). Or use the engine for non-Euclidean computations and visualizations (see RogueViz). Have fun!
Technical information
You should be able to compile on Linux, OSX, or MinGW with something like this (you need SDL, SDL_ttf, and SDL_gfx):
sudo apt-get install gcc libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev
git clone https://github.com/zenorogue/hyperrogue.git hyperrogue
cd hyperrogue
make
The mymake
program builds HyperRogue in parts. It takes longer than the method shown above, but when you change something, mymake
will only recompile the changed file.
Additionally, it can be easily configured, e.g., to produce an optimized build, or to include addons (see mymake.cpp
for some example invocations, and devmods
for some example addons).
make mymake && ./mymake
The source code is not documented very well. You can see the current state of the documentation, as generated by Doxygen, here.