Skip to content

dantol29/network-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fo# A multiplayer snake game built in C++ with real-time networking capabilities.

How to play (compatible with macOS and Linux)?

./start.sh

Client-server architecture

Server arch

Client arch

Features

  • Runtime Dynamic Graphics Library Switching (GLFW, SFML, ...)
  • Dual-Protocol Network Stack (TCP for client auth and game state, UDP for low-latency position updates)
  • Non-blocking network operations with poll
  • Multi-Threaded Game Loop (Separated server and game logic)
  • macOS and Linux supported

Materials

  1. https://www.cs.dartmouth.edu/~campbell/cs50/socketprogramming

About

Multiplayer snake game with real-time networking capabilities

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •