rhex is a simple ASCII terminal hexagonal map roguelike game written in Rust. The project aims to create a tactical positioning game with a pure terminal UI using ASCII/Unicode characters.

You can try the game without installing anything by following the demo server instructions.

Core Goals

  • ASCII/Unicode pure terminal UI first
  • Hexagonal map with tactical positioning

This project also serves as a practice exercise for improving Rust knowledge. It is a continuation of a previous project, Rustyhex, and may merge with it in the future.

rhex uses the hex2d-rs - Hexagonal grid map utility library.


rhex v0.0.3 screenshot rhex v0.0.3 screenshot


The game requires a terminal with 256 colors support and a Unicode font.

To run rhex, use the following commands:

git clone https://github.com/dpc/rhex.git
cd rhex
cargo run --release

Note: You must have the ncurses library installed and linkable for ncurses-rs to work. On Linux, this should be trivial. On OS X, consider installing ncurses using Homebrew. Note that you have to force Homebrew to link the library to /usr/local/lib with brew link --force ncurses and set that path to the LIBRARY_PATH environmental variable.


The game is playable but not yet complete in terms of features and gameplay.

rhex is actively seeking collaborators. If you're interested in practicing Rust or find roguelikes intriguing, contact @dpc on the rhex gitter channel to get started.

Report problems and ideas through the issues page.

Similar Projects



  1. Home
  2. Learn Rust
  3. Get Started
  4. Practice Rust
  5. Challenges
  6. Tutorials
  7. Blog
  8. Open source
  9. Learn Gleam


  1. GitHub
  2. X


  1. Privacy Policy
  2. Terms of Service