1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 07:20:25 +00:00
A SDL roguelike in a non-euclidean world.
Go to file
Arthur O'Dwyer f111c8b209 Fix two non-C++11isms when compiling with CAP_ROGUEVIZ.
Generic lambdas are C++14, and since we only have one in the whole codebase,
let's just not do that. (Alternatively, I could replace -std=c++11 in the
makefile with -std=c++14. I'd be okay with that personally.)

"%Ld" is a typo for "%lld".
2017-12-20 15:35:53 -08:00
dll Add cross-compile support 2015-08-22 13:43:16 +02:00
hyperroid more mobile fixes 2017-08-06 16:17:13 +02:00
music Create a directory for music files 2015-08-08 16:23:36 +02:00
sounds Sound files added. 2017-03-23 11:46:21 +01:00
.gitignore Remove useless configure file 2016-04-03 16:31:21 +02:00
achievement.cpp total victory no longer requires the Princess saved in the same session 2017-09-01 22:04:53 +02:00
autogen.sh Pass args from autogen.sh to ./configure 2017-06-20 16:44:36 +02:00
basegraph.cpp disable multisampling in case of problems 2017-09-04 20:42:56 +02:00
cell.cpp 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
changelog.txt 10.0o 2017-09-17 14:15:24 +02:00
classes.cpp 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
complex.cpp fixed the special case when the checkmate rule did not work with mirrored mimics 2017-09-17 13:37:05 +02:00
config.cpp Sight range increase is now allowed in some of the special modes (not only the cheat mode) 2017-08-18 02:58:55 +02:00
configure.ac Link in g++ for GLEW 2017-07-24 20:48:52 +02:00
conformal.cpp even though HyperRogue usually uses doubles now, polygonal model always uses long doubles 2017-08-13 21:09:39 +02:00
control.cpp fixed the quick mouse OFF 2017-08-18 03:24:15 +02:00
COPYING Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00
debug.cpp the Hyperstone cheat now works correctly in OSM 2017-08-14 20:32:09 +02:00
DejaVuSans-Bold.ttf Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00
dialogs.cpp Number edit with reaction configurable via a function 2017-09-01 22:06:36 +02:00
direntx.c fixes for Emscripten, and for compiling without tutorial 2017-04-15 04:48:59 +02:00
direntx.h Updated HyperRogue sources to 7.4f. 2016-01-02 11:09:13 +01:00
embuild.sh added the commandline for Emscripten 2017-08-13 20:48:07 +02:00
fake-mobile.cpp 10.0g 2017-08-06 14:50:16 +02:00
fieldpattern.cpp 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
fjordgen.cpp Updated to 8.3j 2016-08-26 11:58:03 +02:00
flags.cpp Orb of Stone over water produces bridges now. You can use Orb of Matter over temporary bridge again to create a wall. Fixed some ways of producing permanent land in the Whirlpool. 2017-09-03 12:01:31 +02:00
game.cpp Fix an accidental reversal of tree-chopping messages. 2017-10-16 23:01:57 -07:00
geometry.cpp Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00
glew.c fixes for Emscripten, and for compiling without tutorial 2017-04-15 04:48:59 +02:00
graph.cpp Silence a couple of warnings on Clang. NFC. 2017-10-17 00:09:37 -07:00
help.cpp added Alan to credits 2017-09-17 13:25:00 +02:00
heptagon.cpp work in progress for 10.0 2017-07-04 15:38:33 +02:00
hr-icon.ico Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00
hud.cpp kills and treasure count no longer appear in the peace mode 2017-08-13 21:13:51 +02:00
hyper.cpp 10.0g 2017-08-06 14:50:16 +02:00
hyper.exe Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00
hyper.h 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
hyper.rc 10.0n 2017-09-04 20:43:45 +02:00
hyperpoint.cpp updated to 10.0c 2017-07-23 01:33:27 +02:00
hyperrogue-music.txt Add sounds and correct music path 2017-04-12 16:16:59 +02:00
hyperrogue.html version number 2016-01-02 11:25:50 +01:00
hyperweb.cpp fixes to make the Emscripten web version compile correctly 2017-08-13 20:49:38 +02:00
hypgraph.cpp 10.0 2017-07-16 23:00:55 +02:00
init.cpp 10.0o 2017-09-17 14:15:24 +02:00
INSTALL Remove unnecessary autotools files, and add them to .gitignore 2015-08-13 11:31:02 +02:00
inventory.cpp Added some extra rewards to Prairie OSM 2017-09-03 12:17:53 +02:00
kohonen.cpp Fix two non-C++11isms when compiling with CAP_ROGUEVIZ. 2017-12-20 15:35:53 -08:00
landgen.cpp fixed a crash bug with Random Pattern Red Rock Valley on mobiles 2017-09-17 13:13:05 +02:00
langen.cpp Silence a couple of warnings on Clang. NFC. 2017-10-17 00:09:37 -07:00
language-cz.cpp unifying language files 2017-10-29 17:42:49 +01:00
language-de.cpp unifying language files 2017-10-29 17:42:49 +01:00
language-pl.cpp unifying language files 2017-10-29 17:42:49 +01:00
language-ptbr.cpp unifying language files 2017-10-29 17:42:49 +01:00
language-ru.cpp unifying language files 2017-10-29 17:42:49 +01:00
language-tr.cpp updated to 10.0c 2017-07-23 01:33:27 +02:00
language.cpp extra codes for Portuguese 2017-08-14 21:12:41 +02:00
Makefile.am Added -std=c++11 flag to Makefile 2017-07-24 15:31:49 -04:00
Makefile.mac Minor improvements to Makefile.mac. 2017-12-20 15:35:53 -08:00
Makefile.mgw Updated to 8.3j 2016-08-26 11:58:03 +02:00
mapeditor.cpp one layer option (ctrl+L) for creating animations 2017-09-03 21:11:33 +02:00
menus.cpp fixed the Princess Challenge 2017-09-17 12:35:32 +02:00
mtrand.cpp Updated to 8.3j 2016-08-26 11:58:03 +02:00
mtrand.h Updated to 8.3j 2016-08-26 11:58:03 +02:00
netgen.cpp updated to 10.0c 2017-07-23 01:33:27 +02:00
nofont.cpp fixes to make the Emscripten web version compile correctly 2017-08-13 20:49:38 +02:00
orbs.cpp Orb of Stone over water produces bridges now. You can use Orb of Matter over temporary bridge again to create a wall. Fixed some ways of producing permanent land in the Whirlpool. 2017-09-03 12:01:31 +02:00
patterngen.cpp Updated to 8.3j 2016-08-26 11:58:03 +02:00
patterns.cpp Updated to 8.3j 2016-08-26 11:58:03 +02:00
polygons.cpp 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
quit.cpp better mission screen in the peace/tutorial/autocheat mode 2017-09-01 22:10:02 +02:00
README.md Updated to 9.4g 2017-05-16 13:20:04 +02:00
rogueviz.cpp Fix two non-C++11isms when compiling with CAP_ROGUEVIZ. 2017-12-20 15:35:53 -08:00
rug.cpp 10.0d 2017-07-25 00:21:36 +02:00
savepng.c Add support for savepng.c 2016-08-26 18:36:03 +02:00
savepng.h Updated to 8.3j 2016-08-26 11:58:03 +02:00
scores.cpp 'kills' key changed to '/' to remove conflict with searching 2017-08-18 02:47:10 +02:00
setversion-sh Updated to 9.4g (mostly tutorial fixes) 2017-04-14 20:12:23 +02:00
shmup.cpp fixed the shmup crash bug 2017-09-04 20:43:17 +02:00
sound.cpp Merge pull request #11 from AMDmi3/patch-2 2017-08-15 17:41:36 +02:00
system.cpp Fixed a bug with saving Camelot PTM 2017-09-01 22:07:26 +02:00
tour.cpp more mobile tutorial fixes 2017-08-06 16:29:51 +02:00
util.cpp 10.0g 2017-08-06 14:50:16 +02:00
yendor.cpp unlimited modecodes 2017-08-18 01:40:07 +02:00
zeno.css Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00

HyperRogue

Current version: 9.4g

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). See the website for some screenshots, and more detailed and up-to-date information! 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## The HyperRogue package includes a Windows executable, documentation, and C++ source which has been tested under Linux (you need SDL, SDL_ttf, and SDL_gfx). You should be able to compile on Ubuntu (or similar) with something like this:

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-git
cd hyperrogue-git
./configure
make

It should also compile under MacOS with something like `make -f Makefile.mac{ (note: I have no access to a MacOS machine to test this makefile myself, it is based on this post by Konstantin Stupnik).

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, donations are welcome. You can contact me at zeno@attnam.com, or at RogueTemple or New Attnam forums (Z), or at my blog.