Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-quiz

version: 1.0.0 = old version

  • Simple Quiz App with Node.js and readline-sync module

version: 1.0.1 = old version

  • 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

version: 1.0.2 = old version

  • 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

version: 1.0.3 = new version

  • 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

future updates

  • 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

disclaimer

  • 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.js file 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

Table of Contents

Description

This is a simple quiz app that allows users to answer questions and get a score at the end.

Installation

To install this app, clone the repository and run npm install to install all dependencies.

Usage

To use this app, run npm start and answer the questions.

License

This project is licensed under the DCI license.

Contributing

To contribute to this project, please contact the owner.

Tests

To run tests, run npm test. With 'nodemon' installed.

About

Simple Quiz app in JavaScript for console with readline and fs , path

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages