Skip to content

wutz-game/wutz_fe

Repository files navigation

Wutz!

Wutz is a daily social trivia game using an API scrapping Jeopardy Productions trivia. 1

Table of Contents

🔗 Important Links

Front End

Depolyed Game: Play Wutz!

Github

Back End

Deployed API

GitHub Repo

🧑‍💻 Developed Using

🎮 Gameplay

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.

📱 Wutz Interface

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.

🚀 Getting Started

Requirements

  • Rails 7.0.X
  • Ruby 3.2.x
  • PostgresQL

Installing

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}

Testing

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"

👤 Authors

Wutz is a student project built in September, 2023 for the Backend Program of the Turing School of Software and Design.

Notice

All clues are pulled from jService.io.

Footnotes

  1. 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.

About

What's Wutz? A daily social trivia game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published