Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 📑❔
- Host: GitHub
- URL: https://github.com/2kabhishek/cli-quiz
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2022-03-07T08:54:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T07:42:05.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T23:39:13.689Z (3 months ago)
- Topics: cli, framework, game, java, oop, quiz
- Language: Java
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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
- NumericalsYou 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