ArticleslgStudy

computer science

HyperRogue

HyperRogue is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand HyperRogue rather than just read about it. In short: HyperRogue is a free and open-source independent video game developed by Zeno Rogue. It is a roguelike inspired by the puzzle game Deadly Rooms of Death and the art of M.

HyperRogue — main illustration
HyperRogue — illustration

Key takeaways

  • HyperRogue belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect HyperRogue to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of HyperRogue from memory before moving on to harder problems.

Reference excerpt

HyperRogue is a free and open-source independent video game developed by Zeno Rogue. It is a roguelike inspired by the puzzle game Deadly Rooms of Death and the art of M. C. Escher, taking place in the hyperbolic plane.

Gameplay

HyperRogue is a turn-based game in which the player controls one character exploring a world based on hyperbolic geometry, with cells arranged as a truncated order-7 triangular tiling by default (with a few exceptions). The player can also choose to play on some other tilings and honeycombs in two and three dimensions, in all eight Thurston geometries, along with a variety of quotient spaces. It borrows procedural generation and permadeath from the roguelike genre, and puzzle-based combat of Deadly Rooms of Death. The world consists of 72 lands, each of which has a different theme, treasure, enemies, mechanics, and a magical power; the lands are usually separated by hyperbolic straight lines ("Great Walls") and change as one travels, thus allowing monsters and magical powers to interact between the different lands. The world is procedurally generated on the fly; some of the lands must be unlocked by fulfilling a prerequisite in the given play (e.g., collecting a certain number of treasures). The main goal of the game is to collect treasures while avoiding entrapment by enemies. Other than simply collecting the treasures, there are several major quests to undertake (Yendor quest, Prince(ss) quest, Hyperstone Quest and the Holy Grail). The gameplay is inspired by Deadly Rooms of Death. The basic enemies alternate their turns with the player; in their turn, the player or an enemy can stay in place, move or attack an adjacent cell. The player and basic enemies can be killed with a single hit. Similar to the check rule in chess, the game does not allow the player to make moves which would lead them to be immediately killed. While defeating a single enemy is not a problem, tactical planning is essential for winning fights with multiple enemies at once. This basic formula is altered in many ways: there are monsters of varying speeds, multi-tile monsters such as Ivies, sandworms, snakes and dragons, and monsters which have to be attacked in a specific way. The game has many special modes, allowing the player to take on a specific challenge (Pure Tactics Mode, Yendor Challenge), or changing a crucial aspect of the game (Chaos Mode where lands change very quickly as you travel, Shoot'em Up Mode which is continuous rather than turn-based and grid-based, and Orb Strategy Mode where orbs can be used at any time instead of being picked up in the world). The source code also contains a visualization engine, called RogueViz.

Hyperbolic geometry

The world of HyperRogue is characterized by its hyperbolic geometry, which affects many aspects of the game. The game is displayed in the Poincaré disk model by default; it is also possible to select other projections from the special modes menu. The graphics are inspired by the art of M. C. Escher, particularly the Circle Limit series using hyperbolic geometry. One property of hyperbolic geometry is that the amount of cells in distance at most d from the starting point is exponential in d; there are centillions of cells in distance 1000 from the starting point. This makes the world of HyperRogue substantially bigger than Euclidean space. The traditional RPG formula of getting stronger by collecting equipment had to be changed to make grinding strategies ineffective. New lands and magical powers are unlocked by collecting treasures, but on the other hand, the amount of monsters spawning depends on the number of treasures collected in the given land, thus making it impossible to grind indefinitely. Many challenges in the game would be trivial in a Euclidean world, but are made harder by the exponential expansion of the hyperbolic plane. At the same time, other challenges would be practically impossible in Euclidean, but are relatively easy in the hyperbolic world. Getting to the center of a moderately-sized circle and returning to one's prior location are almost impossible in hyperbolic geometry, while both are much easier in Euclidean geometry. Obstacles and other objects in the game world use shapes that are impossible in Euclidean geometry, like infinite trees, equidistants and horocycles, and straight lines which never cross. There is also one land that relies on the holonomy of hyperbolic geometry: when the player returns to a tile after making a few steps in a closed loop, the world has rotated around the player. The in-game tutorial allows the player to learn about hyperbolic geometry and the game's basic mechanics.

Release The first version of HyperRogue, then named Hyperbolic Rogue, was created in November 2011, and contained only a single land and very simple monsters. A new version was made in March 2012 for the Seven Day Roguelike Challenge, with more lands and the introduction of magical orbs. In January 2015, HyperRogue was released on Steam. Version 12.0, released in June 2021, added support for virtual reality through SteamVR.

Reception HyperRogue was called "one of the most interesting roguelikes to come around lately" in the book Exploring Roguelike Games. Pocket Tactics stated that it was reminiscent of Roger Zelazny's Chronicles of Amber series.

References

External links Official website Official wiki Online demo using WebGL

Illustrations

HyperRogue: Beginning of a HyperRogue game
Beginning of a HyperRogue game
HyperRogue: Screenshot of HyperRogue on mobile. The player is in the Temple of Cthulhu, a land featuring an infinite series of nested horocycles. The game is using the alternate binary tiling of the hyperbolic plane.
Screenshot of HyperRogue on mobile. The player is in the Temple of Cthulhu, a land featuring an infinite series of nested horocycles. The game is using the alternate binary tiling of the hyperbolic plane.

Worked examples

Example 1 — a first encounter with HyperRogue

Start with the simplest possible case. Write down what HyperRogue claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to HyperRogue before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about HyperRogue ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of HyperRogue

In research
HyperRogue appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses HyperRogue in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
HyperRogue is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2011 video games, Commercial video games with freely available source code, Free and open-source Android software, so understanding it makes those chapters shorter.
In everyday life
Look for HyperRogue outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “HyperRogue” →

How to study HyperRogue in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what HyperRogue means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain HyperRogue out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is HyperRogue in simple terms?

HyperRogue is a free and open-source independent video game developed by Zeno Rogue. It is a roguelike inspired by the puzzle game Deadly Rooms of Death and the art of M.

Why does HyperRogue matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study HyperRogue?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on HyperRogue.

Tags

  • 2011 video games
  • Commercial video games with freely available source code
  • Free and open-source Android software
  • Free software programmed in C++
  • Free software that uses SDL
  • Hyperbolic geometry
  • Linux games
  • MacOS games
  • Mathematical education video games
  • Multiplayer and single-player video games
  • Open-source video games
  • Roguelike video games

Keep exploring