Multiplayer Snake
- Primary category
- Networked Systems
- Supporting categories
- Client/Server
- Game Development
- Real-Time State
Overview
Jared Hildt and I built a C#/.NET MAUI multiplayer Snake application with a shared client/server game world. The course supplied networking/vector infrastructure that we integrated rather than authored from scratch.
My Role & Contribution
I implemented most of the client-side backend logic, including player death behavior, body growth after eating, and world-edge wraparound. The broader application was shared with Jared and built on instructor/course-provided infrastructure.
Technical Approach / Technologies
The solution separated the .NET MAUI client, shared game model, server, network controller, and vector utility into distinct projects. JSON messages carried world state that the client rendered as snakes, walls, power-ups, names, scores, and effects.
Technologies
- C#
- .NET MAUI
- TCP/socket networking
- JSON
- XML configuration
- custom drawing
Engineering Decisions / Trade-offs
Client-side rendering and camera behavior turned server state into a readable local view, while wraparound logic preserved movement across open world edges. The team integrated supplied networking/vector foundations rather than authoring those foundations.
Challenges / Lessons
The README records edge cases around simultaneous direction input and spawning near an open world boundary. Those issues show how synchronized game rules and wrapped geometry can produce visible client/server inconsistencies.
Results / Status
The source and recording show a working multiplayer game with multiple players, a shared world, custom rendering, growth, death behavior, and world-edge traversal.
Evidence
The case study is supported by the pinned repository, README and source documentation, gameplay recording, and curated gameplay frames.

Gameplay still captured by Alan from the project shared with Jared Hildt. Networking/vector foundations and artwork were course-provided; artwork credit belongs to Jolie Uk and Alex Smith. The still alone does not demonstrate death, growth or wraparound behavior.
View full-size screenshot