Skip to content

vijayphoenix/Car-racing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Codacy Badge

Chor Police

About

This is a pseudo 3d Car-Racing game made in C++.
The project was done mainly to understand the concurrency patterns. We have made extensive use of concurrent features of C++ in both communication (between game server and the client) and gameplay. The project also follows many design patterns and good practices.

Single Player

Get the adrenaline rush of driving a ultimate sports car equipped with a powerful weapon through a lively city filled with cops and city traffic. You will have great fun with city racing 3d.
Play as the Hero/Thief with cop cars to outrun. The fun and chase never ends here.

Multiplayer Player

Enjoy and comptete with your friends in this game mode.

Built With

This game is implemented in C++.

  • SFML - The Graphics library for C++

Installation

On Linux

Install SFML library.

sudo apt update
sudo apt install libsfml-dev  

Cmake is used to compile the game.

sudo apt install cmake

Clone the repository:

git clone https://github.com/vijayphoenix/Car-racing-game.git

Browse to the directory where all the files of this repository are located.

Run the following commands and enjoy playing the game.

mkdir build && cd build && cmake .. && make  
./main  

Documentation

This project is documented under DOXYGEN Documentation

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details