A quiz game in which Seyed and others take turns to answer questions about several topics and find the greatest of them all!
The questions are provided by the Trivia API.
- A custom json parser.
- A simple interface to get questions from the Trivia API (Uses libcurl as backend).
- Immediate Mode GUI made with raylib.
- CMakeLists.txt that can generate build files based on your setup and will download raylib and cURL automatically.
- Survival game with a difficulty choice and keeping track of games played and the highscore.
- Multiplayer PvP game across different machines with sockets.
- CMake: A build system to build the build files :)
- Some compiler: You could consider using GCC, Clang or MSVC. Choose whichever suits you best.
You can simply run cmake
and have your build files generated based on your operating
system and configurations, or you could run a more specific command like this:
# Create Unix Makefiles based on the CMake configuration in the current directory and
# put them in the `build/` directory under the current working directory and use clang
CC=clang CXX=clang++ cmake -S . -B build -G "Unix Makefiles"
# OR
cmake -S . -B build -G "Unix Makefiles" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++
Then build it based on the files generated by CMake. If you used Makefile like I did,
you can simply go to the build/
directory and run make
. Or on Windows you might
choose to go with MSVC and do something like:
mkdir build
cd build
cmake ..
cmake --build .
This project is started and maintained by (Mehrad Pooryoussof)[https://GitHub.com/MPCodeWriter21/]. You are more than welcome to fork the repository and contribute as you see fit.
This project is under the MIT License, and you are welcome to use, modify and publish the code as long as it does not harm me.