Git Product home page Git Product logo

sportsquiz's Introduction

Sports Quiz

Badge

Sports Quiz - Deployed

My GitHub

Screenshot

Project Description

The goal for this project was to create a webpage that serves as a quiz. The user clicks start to begin the game. Questions are picked only once per game, at random. The timer starts at 75 seconds and there are penalties to answering the questions wrong. Each game ends when either all the questions have been answered or the timer runs out. There are displays for the timer, correct answers and wrong answers, which are updated as the game goes on. Depending on the users performance they may or may not get an oppurtunity to record a high score. If they do they are presented with a text box at the bottom to enter their name. There is a button to show the high scores entered.

Link to Video Demo

How to use:

  1. Start button starst the timer, presents the first question.

  2. As questions are answered:

    1. Timer goes down each seconds
    2. Wrong answer causes the timer to lose extra tiime
    3. Correct and Wrong answers are tracked and presented
  3. Each game uses the same set of questions, but they are asked in a random order each game.

    1. Same applies to the answers of each question
  4. Code was setup so that it could handle any ammount of questions and those questions could have different answer ammounts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.