Wutz is a daily social trivia game using an API scrapping Jeopardy Productions trivia. 1
- Rails 7.0.X
- Javascript
- HTML
- CSS
- API https://jservice.io/
Three categories are randomly chosen and will have 3 questions from said categories that increase in difficulty. Questions are given a point value (1, 2, 3) based on the difficulty of the question. Players do not see the questions but can see the point value. Once a tile is selected the player is presented with a question which they can then make a guess and submit their answer, or can skip the question. For each question correct the player gains a number a points equal to the quesitons difficulty while getting the question wrong subtracts points. The game is played to see how many points you can get after all questions are attempted.
Players start at the Main Menu where they can Login, Play the Game (with or without logging in).
![](assets/20230921_205522_How_to Play.png)
Players are presented with a fresh gameboard each day.
Players then can select a tile to recieve a question and submit an answer.
If the answer is wrong, the user can choose to either Return to Game Board or click "I Was Close Enough" which will award them the point.
The board squares will change color based on the outcome of each question.
- Blue means the question hasn't been answered or skipped yet.
- Green means the question was answered correctly or an incorrect answer was overridden.
- Red means the qestion was answered incorrectly and the answer was not overridden.
- Yellow means the question was skipped and the user can return to this question to answer it later if they choose.
![](assets/20230921_204313_Board_with Colors.png)
When the user has finished, they click Complete Game to be taken to the results page.
This step actually converts localStorage() from Javascript into a cookie to be used by Rails.
Clicking Save Game makes the API call to the Back End to record the game results.
- Rails 7.0.X
- Ruby 3.2.x
- PostgresQL
Clone the repo to your local machine
You can also fork it if you would like to work on your own project.
Install all requisite Gems:
bundle install
Create and seed your local Postgres database
rails db:{create,migrate,seed}
Code testing is done with these gems and bundle exec rspec
gem "rspec-rails"
gem "capybara"
gem "simplecov"
gem "selenium-webdriver"
gem "webdrivers"
gem "vcr"
gem "webmock"
gem "launchy"
Wutz is a student project built in September, 2023 for the Backend Program of the Turing School of Software and Design.
- Ethan Black ❗(Github, LinkedIn)
- Chris Cullinane ❗ (Github, LinkedIn)
- Ian Lyell ❗ (Github, LinkedIn)
- Connor Richmond ❗ (Github, LinkedIn)
- Mike Wood ❗ (Github, LinkedIn)
All clues are pulled from jService.io.
Footnotes
-
The Jeopardy! game show and all elements thereof, including but not limited to copyright and trademark thereto, are the property of Jeopardy Productions, Inc. This application is not affiliated with, sponsored by, or operated by Jeopardy Productions, Inc. ↩