Giter VIP home page Giter VIP logo

game-of-seyeds's Introduction

Game of Seyeds

GameOfSeyeds

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.

What is in this repo?

  • 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.

Build

Requirements

  • CMake: A build system to build the build files :)
  • Some compiler: You could consider using GCC, Clang or MSVC. Choose whichever suits you best.

Run CMake and build the project

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 .

About

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.

License

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.

References

game-of-seyeds's People

Contributors

mpcodewriter21 avatar

Stargazers

MobiN Taheri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.