Skip to content

jeffreygray/Undaark

Repository files navigation

Undaark

This is an open source adventure game written in Ruby!

Requirements:

  1. Ruby 3.1.2 rbenv install 3.1.2
  2. Install dependencies from Gemfile with bundle install

To run:

  1. git clone https://github.com/jeffreygray/Undaark.git
  2. chmod +x client.rb
  3. chmod +x server.rb
  4. ./server.rb
  5. ./client.rb [Player ID]

Style:

  1. View style offenses with bundle exec rubocop
  2. Auto-correct offenses with bundle exec rubocop --safe-auto-correct
  3. Auto-correct "unsafe" things with bundle exec rubocop -A

To play:

  1. Walk around using directions n, e, s, w
  2. Check your surroundings with scan
  3. Enter a debugger instance with debug
  4. See what's in your current room with look
  5. Find the rats!!! The current world record is 0.04 seconds by cberman.
  6. Quit the game with quit