BE MOD3 Group Project
Click here to view it in production
Team Members
- About
- Software Requirements
- Getting Started
- Test Suite
- Schema
- Fear Quiz
- Games
- Reviews
- Profile
- User Experience
- Future Implementations
IScream Arcade is an app designed to asist users in their hunt for the next terrifying video game. The game data is returned from a sinatra microservice that accesses the IGDB (Internet Game Database) API. You can read more about the API documentation here
Users and visitors may take the ever terrifying Fear Quiz
that will expose your true fears. Based on the results IScream Arcade will recommend video games that contain your recently exposed fears.
Certain functionality is hidden from the visitor accounts. To create an account, simply login with Google OAuth. Once a user is logged in, users may add games to their 'Saved Game' list, and contribute to the community by adding game reviews and "IScream" ratings.
A visitor or user may get information regarding a single game or a single keyword (terrifiny keywords recommended) by entering the search type and search term on the home page.
Games are returned with data relavent to your decision making such as trailers, descriptions, critical ratings, screenshots, themes, genres, and similar games. Similar games link to their game profile-- the rabbit hole is endless.
- Ruby Version 2.5.3
- Rails Version 5.2.4
If you want to create your own IScream Arcade and make any additional improvements or add extenstions. Follow these steps.
To begin, fork and clone this repository. Or you can run the following command below if you are not interested in saving your own copy.
git clone [email protected]:perryr16/i-scream-arcade.git
Once the repository has been downloaded to your local machine. Run the following commands:
bundle install
rails db:create
rails db:migrate
rails db:seed
The test suite is run using RSpec and Capybara. The test results have been mocked and stubbed using Webmock and VCR. To run all tests simply enter the following commands.
rails g rspec:install
bundle exec rake db:create
bundle exec rspec
In order to run tests with fresh data you must delete the VCR cassettes folder from /spec/fixtures/
and rerun bundle exec rspec
. This will populate the fixtures folder with fresh data.
If you'd like to run the microservice locally you must clone down the sinatra microservice. Once the microservice has been opened run the following commands to get it setup.
bundle install
shotgun
Shotgun is a gem that starts the sinatra service while allowing developers to make changes that will automatically reload on the local server. Shotgun will run the server on localhost:9393
where you can hit the API directly.
There are two main types of users on our application (a regular user or a visitor). Visitors such as the casual gamer or a parent can search games and select some fears to return recommended games. For example, if a mom does not want her child to play games that involve drowning, they can select drowning
from the quiz. It returns a list of games that include the keyword drowning and as a parent, those would be the games I would have my child avoid.
As a logged in user, you get to experience all the benefits listed above. Once a user has authorized Google, they have the ability to rate, review, and save games.
- Build a "cute search" for users that return games that don't include their fears
- Provide a user with a button that allows them to buy the game