/apocalypse_app

App in Ruby that tracks your resources for apocalypse survival.

Primary LanguageRuby

Recipe for Survival

By Colin Kingen, Matt Carlson, Cameron Poore, Patrick Lipscomb 2016

Description

This is a group final project for the ruby class. It uses object oriented design and many to many relationships in the ActiveRecord database to create a fun game. It completes the following user stories developed before coding:

  • I want to create a user and be assigned an amount of money.
  • I want to be able to delete users
  • I want to be able to buy resources with my money.
  • I want to be able to log in and have it remember me.
  • I want to be able to increment my resources.
  • I want to be able to increment my resources.
  • I want to be able to log in and have it remember me.
  • I want to know what my bottleneck resource is.
  • I want to be able to click on a resource and have it display a blurb.
  • I want to be able to pick the disaster I suffer.
  • I want to see how long I would survive in a particular disaster.
  • I want to be able to see the high scores.

Setup/Installation Requirements

To install this repository into a new project each time, first

  • git clone <repository-url> this repository
  • Change into the new directory
  • Install postgres gem
  • Use ActiveRecord to install databases with rake:
  • rake db:create
  • rake db:migrate
  • rake db:seed
  • Start the Sinatra Server:
  • ruby app.rb

Known Bugs

No currently known bugs.

Support and contact details

Contact us on github if you have any questions.

Technologies Used

  • HTML
  • Sinatra
  • Ruby
  • ActiveRecord
  • CSS and Bootstrap
  • Capybara

License

Licensed under the MIT License

Copyright (c) 2016 Colin Kingen, Matt Carlson, Cameron Poore, Patrick Lipscomb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.