https://github.com/hazeliscoding/quiz-game-redux
A CLI based quizzing application.
https://github.com/hazeliscoding/quiz-game-redux
cpp data-oriented-programming nlohmann-json
Last synced: 3 months ago
JSON representation
A CLI based quizzing application.
- Host: GitHub
- URL: https://github.com/hazeliscoding/quiz-game-redux
- Owner: hazeliscoding
- Created: 2023-12-22T15:39:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T18:18:41.000Z (almost 2 years ago)
- Last Synced: 2025-09-01T15:50:29.011Z (4 months ago)
- Topics: cpp, data-oriented-programming, nlohmann-json
- Language: C++
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎮 Quiz Game Redux
## Introduction 🌟
Quiz Game Redux is a modern rewrite of a classic quiz game project, originally developed as an introduction to C++ programming. This version incorporates contemporary C++ standards and features, making it an excellent example of modern C++ practices and data-oriented design.
## Features 🚀
- **Dynamic Question Pool**: Loads questions from a JSON file, allowing for easy updates and modifications to the quiz content.
- **Randomized Order**: Both questions and their corresponding choices are shuffled, ensuring a unique quiz experience each time.
- **Console-Based Interface**: Simple and intuitive text-based interface for easy navigation and interaction.
## Requirements 📋
- C++ Compiler (C++20 Standard)
- CMake for build automation
- Git (for cloning the repository and managing submodules)
## Setup and Installation 🛠️
1. **Clone the Repository**
```bash
git clone https://github.com/ducksoop/quiz-game-redux.git --recurse-submodules
cd quiz-game-redux
```
2. **Build the Project**
```bash
cmake -B build
cmake --build build
```
This process is the same for both Windows and Linux systems.
3. **Run the Executable**
- On Windows: `.\build\quiz-game-redux.exe`
- On Linux: `./build/quiz-game-redux`
## Usage 🎲
- Launch the game executable to start the quiz.
- Answer the shuffled multiple-choice questions presented in the console.
- Enjoy testing your knowledge and challenging yourself!
## Cross-Platform Compatibility 🌍
- This project is designed to be built and run on both Windows and Linux operating systems.
## Contributing 🤝
Contributions to the Quiz Game Redux project are welcome! If you have suggestions for improvements or new features, feel free to fork the repo and submit a pull request.
## License ⚖️
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.