Table Trenches is an online competitive multiplayer augmented reality game released on Android and iOS. It is part of the Google Play Pass. The game is written in C# using the Unity engine. I did all of the network and multiplayer code. Two other engineers worked on gameplay while my focus was on all of the networking, data syncing and server/client states. Additionally, I worked on localization and various gameplay state features.

Created in Unity and C#. Initial release on iOS with subsequent update adding support for Android.

Part of the trick to this multiplayer project was making the multiplayer work across Android and iOS. I used peer to peer networking through the iOS's Multipeer Connectivity and Android's WiFi Direct. The player that initiated the game would be the host and would be the "server". It's not really a server as much as the authoritative game. The other player then just becomes a client that receives all of its information from the host player. This works in this game because no actions require near-real time results so the host does not have much of an advantage.