Skip to content

isaka-james/quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUIZ APP

Have Fun Learning..

About

This is the cli application that communicate with the backend apis, to simulate the QUIZ to the user where the user can choose the course and then start the quiz rightaway.

How to Run?

First you need to clone the project and go inside the repository:

git clone https://github.com/isaka-james/quiz.git
cd quiz

Before considering running this application, you need to ensure that rustc and cargo are installed in your enviroment. Then you can run this command to produce a binary which you can run in your system.

cargo run

Flow

  1. The user launch the cli application in the terminal.

    ./quiz
  2. The user will be prompted to choose the course:

    # ie the user choose 1 for IA 316
    1
  3. Then the quiz questions will start right away, where the question will be fetch from the server along with its mutliple choices and displayed on the screen, with the timer counting down (when user does not submit question on the specified time then the question will be marked as not answered)

  4. When user press a character on the keyboard reflecting what the choice thinked to be right then the response will be sent to the server and server will respond with if the user has picked the correct choice or not, and we can display the answer there if the user guessed wrong.

  5. Remember on this whole process the user has points when he got right then points increase according to the hardness of the questions, and vice versa is true. And also each day the user receives 1000 points.

  6. So after finishing the first question then will go to the second question until the user feels to quit or user's point reaches 0. And I plan later that at one lace the user should able to answer 30 question.

since 18 Feb,2025