Skip to content

buraktiryaki/online-turn-based-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online-turn-based-game

This project includes a client and server written in c++ and OpenGL. This is a simple turn-based strategy game that you can play with two people for now. It uses tcp protocol for communication. Boost.asio library is used for the tcp protocol.

Screen Shot

Dependencies

Build and Run

On Windows

md build
cd build
cmake -DCMAKE_PREFIX_PATH=c:\your_libs_dir
cmake ..
cmake --build . --config --config Release --target ALL_BUILD

Finally move resources\ and shaders\ into build\

On Linux

mkdir build
cd build
cmake ..
make

Run

./server port
./client playerId playerName host port

./server 30000
./client 0 player1 127.0.0.1 30000
./client 1 player2 127.0.0.1 30000

About

This is a simple turn-based strategy game that you can play with two people for now.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages