Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2kabhishek/cli-quiz

Create quizzes on the CLI 📑❔
https://github.com/2kabhishek/cli-quiz

cli framework game java oop quiz

Last synced: 24 days ago
JSON representation

Create quizzes on the CLI 📑❔

Awesome Lists containing this project

README

        

CLI Quiz


License


People


Stars


Forks


Watches


Last Updated

Create quizzes on the CLI 📑❔

cli-quiz Demo


cli-quiz screenshot

## What is this

CLI Quiz is a tiny framework that allows you to easily create command line quiz apps.

## Inspiration

Was trying out some online quizzes, thought I'd make one myself.

## Prerequisites

Before you begin, ensure you have met the following requirements:

- You have installed the latest version of `java`

## Getting cli-quiz

To install cli-quiz, follow these steps:

```bash
git clone https://github.com/2kabhishek/cli-quiz
cd cli-quiz/src
```

## Using cli-quiz

The quiz supports different types of questions

- MCQs
- True and False
- Numericals

You can create the questions in `QuestionBank.java`.
`Quiz.java` has the main method, compile it and run to start the quiz.

```bash
# After making changes
java Quiz.java
# Starting the quiz
java Quiz
```
Can be used as a case study for OOP principles.

## How it was built

cli-quiz was built using `java` and `neovim`

## What I learned

- Figuring out all the different question types and there implementation was fun.

Hit the ⭐ button if you found this useful.

## More Info

Source | Website