Skip to content

MaxEdwards20/Dune-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dune-Snake

Gameplay Image

A game of Snake built using C# in the MonoGame framework, themed around everyone's favorite Sci-Fi franchise: Dune.

How to Setup

  1. Install MonoGame on your local machine.
  2. Open this file in Visual Studio, Jet Brains Ryder, or another compatible IDE.
  3. Start the server
  4. Start the client
  5. Start playing!

Debugging

Connection Refused

  • Try switching ports. A few options are 4000, 4010, 3000, 3010
  • Use netcat on Mac or Linux to see whether the server is available. nc -vz 192.168.4.20 3000
  • Turn off your firewall. On macOS that is found in System Preferences > Security & Privacy > Firewall

Client Prediction and Server Reconcilition

  • When input occurs the client does that and send it to the server
  • The server receives the client input and upates the game state
  • Server Reconcilition happens on the client side for the items that have not been acknowledged by the server

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages