Have Fun Learning..
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.
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
-
The user launch the cli application in the terminal.
./quiz
-
The user will be prompted to choose the course:
# ie the user choose 1 for IA 316 1
-
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)
-
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.
-
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.
-
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.