Multiplayer systems
Unity multiplayer with Python game logic
Battle for Polygonia
A 3D Unity multiplayer board game inspired by Settlers of Catan, with Python game logic and AWS Lambda APIs.
UnityC#PythonNumPyAWS LambdaPhoton
View source How the system fits together.
-
Client
Unity screens and Photon multiplayer
-
Rules
Python and NumPy game logic
-
Service
AWS Lambda APIs and WebGL delivery
Battle for Polygonia is a 3D Unity board game inspired by Settlers of Catan. Photon handles multiplayer, while Python and NumPy run the game rules and AI behind AWS Lambda APIs. The game ships as a WebGL build.
What I built
- Unity and C# for screens, graphics, and gameplay.
- Photon multiplayer behavior.
- Python and NumPy game core with AI behavior.
- AWS Lambda APIs and WebGL deployment through GitHub Pages.
Engineering notes
The same rules had to work in Unity, Python, Lambda, Photon, and the browser. The hard part was keeping the game responsive while each part agreed on the same game state.