Version 0

Rogue-Like Rust

V0 - Version Goal

3/14/2025

Procedurally generate map that allows player to walk on tile spaces and is barred from walking onto wall tiles.

Goal Check List
Controls
Up Arrow Up or Numpad 8
Down Arrow Down or Numpad 2
Left Arrow Left or Numpad 4
Right Arrow Right or Numpad 6
Game Play
Player
  • The player (@) can move in 4 directions
  • It can move to any floor tile (.)
  • It cannot move to wall tiles (#)
Map
  1. Create random non-intersecting rooms (rects)
  2. Connect Each Room to previous by Tunnel

    • Only connect 50% of the time (to provide variety)
    • Connects two rooms by creating floor tiles from r1.x to r2.x and from r1.y to r2.y (r1 and r2 are the centers of the rooms [x, y])
      • 50% horizontal first then vertical, 50% vice versa (to provide variety)