Simple trivia application written in C++, using Open Trivia Database Free API to query questions.
- Features
- Running the application
- Screenshots
- Libraries Used
- Building from scratch
- License
- Acknowledgements
- Cross-platform support (Windows and Linux)
- Adjustable game settings
- Interactive, colorful CLI interface
- End-of-game statistics
- Over 5000 different questions
It's really simple - all you have to do is to download a prebuilt binary (or build your own if you're brave enough), then execute the program.
Use the arrow keys
to move around, and Enter
to Confirm.
- curl: command line tool and library for transferring data with URLs
- nlohmann/json: JSON for Modern C++
- aelliixx/cpp-inquirer: Interactive command line prompts with C++ (modified by me)
- lamarrr/chalk: C++ terminal styling done right (modified by me)
- Clone the repository
$ git clone https://github.com/Spookyless/trivia-night.git
-
Install the dependencies and properly link them by modifying CMakeLists.txt
-
Navigate to the project root and build the app
$ cd trivia-night
$ cmake .
$ make
This project is licensed using MIT license.
- Open Trivia Database for providing a Free API with many customization options and large database of questions!