Multiplayer Tank Game

I have been busy working on a prototype tank game that uses iOS MPC for multiplayer functionality. I started with some code on Github to get a head start on the tank movements and collision detection. MPC is pretty easy to use with the only problem I encountered were stale peers showing up in the peer browser. This was solved by storing the MCPeerID for reuse as well as making sure the MPC assistant stopped advertising when the application went into the background or the peer became disconnected. This is what the application looks like with two players (max of four):

Leave a Reply

Your email address will not be published. Required fields are marked *