Skip to content

imanpalsingh/quizathon

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version ruby 2.7.5

  • Project Setup rake db:drop && rake db:create && rake db:migrate && rake db:seed and also run redis-server

Rails Quiz

Rails Quiz allows multiple users to answer quiz questions simultaneously.

  1. Share the link for a multiplayer game.
  2. Live leaderboard.

1. Visit to Rails Quiz Login

image

2. Click on Sign Up and fill the required field.

image

3. This will open the quizzes dashboard where it list all the quizzes and logged in user details.

  • Currenty we have 2 quiz.
    • Ruby on Rails
    • Science

image

4. Select any quiz and click on Start. eg:- Ruby on Rails.

  • This will open the Quiz start which has following section.
    • Profile:-
      • This section has two button.
        • Exit:- Upon clicking on this button, we are logged out and redirected to the login page.
        • Reset:- Clicking on this button resets the quiz for everyone.
    • Question section:-
      • In this section, the first question is presented with the following options.
        • As soon as we click on the correct option, the score will be update in the Leaderboard and display the next question.
        • As soon as we click on the incorrect option, the score will not be update in the Leaderboard and display the next question.
    • Leaderboard section:-
      • This section lists all the live users who are answering the current quiz.

Screenshot 2022-09-19 at 2 38 11 AM

About

A hotwire powered app made for Rails Hackathon 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published