Skip to content
/ ruggrogue Public

A simple web-playable roguelike made with Rust and SDL, with Emscripten for the browser port

License

Notifications You must be signed in to change notification settings

tung/ruggrogue

Repository files navigation

RuggRogue

Website: https://tung.github.io/ruggrogue/

Fight monsters and find loot as you battle your way to the bottom of the dungeon! Play the game in your web browser, or download it for Windows or Linux at GitHub in the Releases section.

RuggRogue is a simple, complete roguelike inspired by the first part of the Rust Roguelike Tutorial. Despite this, it uses SDL2 directly (and Emscripten for the web port), without any game engine or roguelike helper libraries. The source code can be found at GitHub. Roguelike developers may also want to see the RuggRogue Source Code Guide; a 20-odd chapter technical web book about the development, ideas and code architecture of the game.

Features

  • Discover new monsters and equipment the deeper you go.
  • Hunger and regeneration: stay fed and stay healed!
  • Choose between graphical tiles and ASCII display.
  • Menu-based UI with hot keys.
  • Auto-run to quickly follow corridors and cross open space.
  • Save and load system.
  • New Game Plus mode!

Controls

The controls are mostly similar to many other classic roguelikes. Move into monsters to attack them.

Movement keys:

  • Numpad, Arrows, vi-keys - move in eight directions
  • Period, Space, Numpad 5 - wait a turn
  • Shift + direction - auto-run
  • Shift + Space - rest until healed
  • Enter, > (Shift + Period) - use downstairs

Other keys:

  • Esc - options menu
  • v - view mode; move the cursor to view distant tiles

Item keys:

  • i - inventory menu
  • g, , (Comma) - pick up item

Hot keys:

  • a - apply (use) item
  • d - drop item
  • w, e - wield weapon or wear armor
  • r - remove weapon or armor

Menu keys:

  • Movement keys, Page Up/Page Down/Home/End - move cursor
  • Enter - confirm selection
  • Esc - cancel

Hot keys can be used in certain item menus to quickly perform actions.

Licenses

RuggRogue is released under the MIT License.

The tile graphics are from the Urizen 1Bit Tilesets by vurmux, licensed under Creative Commons Zero.

GohuFont is licensed under the WTFPL.

assets/terminal-8x8.png was borrowed from the assets accompanying the Rust Roguelike Tutorial.