Skip to content

Multiplayer snake game with real-time networking capabilities

Notifications You must be signed in to change notification settings

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)?

make

Client-server architecture

Server arch

Client arch

Features

  • Runtime Dynamic Graphics Library Switching (RAYLIB, SFMLand SDL3)
  • 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

  •  
  •