Network tic-tac-toe
Back to projectsDescription
A multiplayer server for a tic-tac-toe game developed using Unity game engine. Wrote it using Rust, to get a feel for the language in an actual application use case. Really like the language and its monadic error handling though it can get pretty verbose at times. It was my first foray into multiplayer game servers and learned a lot about how client/server communication happens and the complexities involved.
Challenges
- First time integrating multiplayer functionality to Unity, did not use any of the built-in helper functions and manually handling communications with my server, which was quite the hassle.
- Learning multiplayer architecture (what should be done on the server, what can be done in the client, etc.). It turned out to be really interesting.
Lessons
- Understood how a game instance communicates with a server and common pitfalls.
- Importance of error handling on the game client.
- Importance of good server logs to bring visibility to application functionality and errors.