- Simple Quiz App with Node.js and readline-sync module
- add test for the functions
- add questions and answers to a json file and randomize the questions and only show 5 questions
- add a score at the end of the quiz
- add a highscore list
- add a best of 3 player list with the score
- change te ruls of the game
- now you have all questions and you have to answer all of them
- if you answer wrong you ended the game session
- if you answer right you get a point and you can continue
- add a new function to the game
- now you can choose between 4 different categories
- for each question you get 4 answers only one is right
- add chalk to the game
- add a new highscore list for each category
- add a new best of 3 player list for each category
- modify the playAgain function to begen at the start of the game
- add a new function to the game
- add more languages to the game 'EN - DE - RO - PL'
- add colors to the game
- add 'statictext.txt' file for the static text in the game to be able to change the text without changing the code
- add a new function to the game
- add a timer to the game with different difficulty levels 5 sec, 10 sec, 15 sec etc.
- add a new highscore list for each category with the timer
- this is a simple quiz app for the DCI course
- this app is not for commercial use
- this app is not for sale
- this app is not for distribution
- this app is not about the questions is only an exercise for the DCI course
- the questions are from the internet and are not mine
- in the
index.jsfile you can finde the metods to put the questions and answers in the json file at the end of the file - the chode is a exercice for function and recursion in javascript and the npm package
This is a simple quiz app that allows users to answer questions and get a score at the end.
To install this app, clone the repository and run npm install to install all dependencies.
To use this app, run npm start and answer the questions.
This project is licensed under the DCI license.
To contribute to this project, please contact the owner.
To run tests, run npm test.
With 'nodemon' installed.