Pedro Navarrete
Projects

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

Battle for Polygonia is a 3D Unity multiplayer board game inspired by Settlers of Catan. It combines Unity screens, Photon multiplayer, backend game logic, and a WebGL build.

The project used Photon for multiplayer. The game core and AI logic ran in Python with NumPy, and AWS Lambda exposed that logic through APIs.

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.