Skip to content

d-roduit/TerminalTrivia

Repository files navigation


TerminalTrivia Logo

TerminalTrivia, a Trivia quiz game playable directly from your terminal 💻⚡️



Table of Contents

  1. Play
  2. Technologies
  3. Guides and resources
  4. Authors
  5. License

Play

There are two ways to run the game:

  1. Run the executable: The first and fastest way is to simply download the game executable (packaged in zip format) from the releases section and run it. There is only a release for Windows though, so if you use another operating system, please follow the second option.
  2. Build the executable from source: This project uses CMake. To build the executable, the fastest way is to download this project and open it in an editor that supports CMake (e.g. Visual Studio). The editor will use CMake to automatically download the project's dependencies when you first open the project (CMake uses Git to download the dependencies. It is therefore required to have Git installed beforehand). Then, use the editor to build the executable in the configuration of your choice (Debug / Release). You do that by first choosing a build configuration (Debug is the default) then clicking on Build > Build all in the menu bar. The debug / release folder, which contains the executable, will be located in the out\build folder at root of the project.

Technologies

The game has been entirely developed in C++.

The main content of the game, aka the quiz questions, are fetched from the Open Trivia DB API.

Moreover, it uses the following C++ libraries :

  • FTXUI - for the development of the terminal user interface
  • C++ Requests - for making HTTP requests to the Trivia API
  • JSON for Modern C++ - for parsing the HTTP responses returned by the Trivia API

Guides and resources

Authors


Daniel Roduit

License

This project is licensed under the MIT License

About

Trivia game playable directly from your terminal 💻⚡️

Resources

Stars

Watchers

Forks

Contributors