Skip to content
A SDL roguelike in a non-euclidean world
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dll Add cross-compile support Aug 22, 2015
generators generators included Nov 23, 2018
hyperroid android:: fixed a time measurement bug which caused non-smooth camera… Jan 24, 2019
music Create a directory for music files Aug 8, 2015
sounds steamhiss sound Oct 10, 2017
.gitignore
.travis.yml Add GCC 4.6 to the TravisCI build. Feb 10, 2019
COPYING Initialization with hyperrogue-66 Aug 8, 2015
DejaVuSans-Bold.ttf
INSTALL
Makefile.am
Makefile.rv rogueviz:: removed patterngen.cpp from RogueViz makefile Nov 24, 2018
Makefile.simple
README.md
achievement.cpp
archimedean.cpp arcm:: no longer crashes with divby0 on some incorrect strings Dec 14, 2018
autogen.sh Pass args from autogen.sh to ./configure Jun 20, 2017
barriers.cpp
basegraph.cpp minor fixes to color handling Feb 6, 2019
bigstuff.cpp
binary-tiling.cpp added some missing CAP_ guards Dec 15, 2018
blizzard.cpp
cell.cpp
changelog.txt
classes.cpp redesigned the Experiment with Geometry menu Feb 8, 2019
classes.h redesigned the Experiment with Geometry menu Feb 8, 2019
commandline.cpp
compileunits.h
complex.cpp
config.cpp no more mobile compass by default in mobile Feb 8, 2019
configure.ac
conformal.cpp fixes for mobile Feb 8, 2019
control.cpp
crystal.cpp
debug.cpp
dialogs.cpp
direntx.h
embuild.sh TravisCI and Makefile integration for the emscripten build! Jul 11, 2018
expansion.cpp
fake-mobile.cpp fake orientation in fake-mobile Jul 23, 2018
fieldpattern.cpp redesigned the Experiment with Geometry menu Feb 8, 2019
flags.cpp parts pushed too fast Feb 8, 2019
floorshapes.cpp renamed hook to floor_hook in floorshapes.cpp Sep 10, 2018
game.cpp parts pushed too fast Feb 8, 2019
geom-exp.cpp
geometry.cpp increased fmax in hyperbolic space to make it work with larger tessel… Dec 11, 2018
geometry2.cpp
goldberg.cpp
graph.cpp
help.cpp
heptagon.cpp
hr-icon.ico
hud.cpp
hyper.cpp startgame animations Feb 6, 2019
hyper.h
hyper.rc
hyper_function.h
hyperpoint.cpp
hyperrogue-music.txt
hyperweb.cpp
hypgraph.cpp
init.cpp refactored some global and stereo:: variables into display_data struc… Nov 18, 2018
inventory.cpp inv:: fixed hotkeys Feb 8, 2019
irregular.cpp added sm::MAYDARK to some dialogs Dec 14, 2018
landgen.cpp parts pushed too fast Feb 8, 2019
landlock.cpp
langen.cpp improvements in expansion Sep 13, 2018
language-cz.cpp
language-de.cpp
language-pl.cpp text improvements, PL/CZ translation update Dec 14, 2018
language-ptbr.cpp
language-ru.cpp
language-tr.cpp
language.cpp
mapeditor.cpp
menus.cpp
monstergen.cpp
netgen.cpp
nofont.cpp some extra chars supported in the browser version Sep 30, 2018
orbgen.cpp
orbs.cpp
pattern2.cpp
patterns.cpp moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- u… Jun 10, 2018
polygons.cpp fixes for mobile Feb 8, 2019
quit.cpp
renderbuffer.cpp fixed non-transparent screenshot background Feb 6, 2019
rogueviz-banachtarski.cpp
rogueviz-cvl.cpp added ignore to fscanf Feb 10, 2019
rogueviz-flocking.cpp
rogueviz-fundamental.cpp
rogueviz-graph.cpp Fix some minor std::function-related bugs. Feb 6, 2019
rogueviz-kohonen.cpp
rogueviz-magiccube.cpp rogueviz:: added rogueviz-magiccube Feb 8, 2019
rogueviz-pentagonal.cpp
rogueviz-staircase.cpp
rogueviz-sunflower.cpp rogueviz:: added the sunflower spirals Nov 11, 2018
rogueviz-video.cpp screenshots are more configurable now Dec 14, 2018
rogueviz.cpp
rogueviz.h
rug.cpp redesigned the Experiment with Geometry menu Feb 8, 2019
savemem.cpp
savepng.cpp
savepng.h Updated to 8.3j Aug 26, 2016
scores.cpp
screenshot.cpp
shaders.cpp
shmup.cpp
sound.cpp
surface.cpp
sysconfig.h Get hyper_function.h compiling on GCC 4.6. Feb 10, 2019
system.cpp
textures.cpp
tour.cpp
util.cpp
yendor.cpp

README.md

HyperRogue

TravisCI badge TravisCI badge TravisCI badge

Current version: 11.0a

A puzzle roguelike in the hyperbolic plane. See the HyperRogue website for detailed and most up-to-date information.

Released under GNU General Public License, version 2. As such, it comes with 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 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 thirteen 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 configation 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. My best so far is $175 but it should be beatable (I mean, I have won fairly only once, and that was my end score in the winning game).

Technical information

You should be able to compile on Ubuntu (or similar) 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
autoreconf -vi
./configure
make

There is also a standalone Makefile for Linux, OSX, and MinGW.

git clone https://github.com/zenorogue/hyperrogue.git
cd hyperrogue
make -f Makefile.simple
You can’t perform that action at this time.