=============
BORED GAMES WILL HELP YOU:
- FIND THE PERFECT GAME TO BUST THE BOREDOM WITH OUR QUIZ.
- KEEP A CATALOGUE OF ALL YOUR FAVORITES.
- MATCH YOU TO A RANDOM GAME...and more!
- General Info
- Intro Video
- Technologies
- Setup
- Code Examples
- Features
- To-Dos
- What Inspired Us
- Created By
- Shout Outs!
Bored Games is a CLI application that allows users to create a profile,
discover games that match their preferences, and gives users the ability
to save their favorite games. Take the Find Your Best Board Bud quiz
and start your favorites list today!!!
Intro Video
To see Bored Games in action
Technologies
- Ruby - version 2.6.1
- ActiveRecord - version 5.2
- Sinatra - version 2.0
- Sinatra-activerecord - version 2.0
- SQLite3 - version 1.4
- TTY Prompt
Setup
To run this project, install it locally by cloning the GitHub repository and typing:
- bundle install
- rake db:migrate && rake db:seed
- ruby runner.rb
Code Examples
def sign_in
user_input = prompt.ask "What is your username?"
found_user = User.find_by(username: user_input)
if found_user
@user = found_user
main_menu
else
puts "So Sorry Bud, that username doesn't exist. Let's sign you up!"
sign_up
end
end
def find_all_favorites
all_faves = Usergame.all.filter do |user_fav|
user_fav.user == @user
end
named_faves = all_faves.map do |favorite|
favorite.boardgame.name
end
end
Features
- Game compatability quiz.
- Game randomizer.
- View and edit catalogue.
To-do list:
- Refactor
- Make code more abstract
To-do list:
- Refactor Refactor Refactor.
- Make code more abstract.
WHAT INSPIRED US
Boredom can be a real kick in kiester.
We love board games and the way they can be a real boredom buster.
In search of a way to match a game to our needs as well as keep
track of games we love or want to learn more about, we came up with
the concept of Bored Games
CREATED BY
ADAM KNOWLAND - Strong with the logic force, he is.
MELL BASHAM - The littlest ewok with a heart of gold.
SHOUT OUTS!
SYDNEY G., SAM, AND ARIELLE - FOR HELP WITH AUDIO
THE COACHES - FOR SHOWING US HOW TO RESPONSIBLY USE THE FORCE