A Zork homage set in a haunted asylum. Built in Ruby Script using Active Record and SQL.
You can play this game online at: asylum-zork-beta.herokuapp.com.
To install the game on your own machine follow these steps:
- Clone this repository at https://github.com/MacKLess/asylum_zork.git
- Ensure you have Postgres installed and running (instructions here)
- To set up the development database, run the following commands in the project's root directory:
bundle install
rake db:create
rake db:environment:set
rake db:migrate
- After the development database is set up, run
ruby app.rb
in the project's root directory - Open
localhost:4567
in your web browser
- User will interact within a asylum based maze using text only input.
- User will be able to navigate through open doors using cardinal directions or N, E, S, W.
- User will be able to read notes found in specific rooms using the "read note" command.
- User will be able to collect items which are then stored in inventory using the "take [item]" command.
- User will be able to view inventory items by using the "inventory" command.
- User will be able to use items in specific rooms by using the "use [item] command.
- User will be able to view the room by using the "look" command.
- User will be able to review commands by using the "help" command.
- User will be provided with a score/assessment upon completion of the game.
- Multiple users playing the game on Heroku creates errors, as all instances operate on the same database. Since the Heroku app only supports one player at a time, it's recommended that users download and run the app using a local database.
Please contact [email protected], [email protected], [email protected], or [email protected] with questions, comments, or issues, or to contribute to the code.
- Ruby
- Sinatra
- ActiveRecord
- Postgres
This software is licensed under the MIT license.