Set up Your Game for Realtime Gameplay (Sync V2)
This article will walk you through setting up your game for realtime gameplay on Skillz. Make sure you have implemented the Skillz Delegate before proceeding.
Introduction
Welcome to the new version of the Skillz Real-time game platform. This provides a solution for our partners to create real-time head to head skill based games. We encourage feedback and look forward to iterating and continue to innovate to add value for our developer partners.
To get started make sure you review the documentation for Play and Compare Gameplay. The Skillz SDK integration steps are exactly the same. The key difference comes where you check the game type and handle the match start accordingly. The good news is that Skillz provides the infrastructure and hosts the game servers for you. If you happen to have your own server implementation our team can work with you and potentially utilize the existing server within the solution implementation for your game. Please reach out to your business contact for details. Skillz also provides an example game server to help you get things running.
High Level Architecture
Skillz real-time gaming is based upon a server authoritative model. An authoritative game server 'owns' the game state to protect against unauthorized operations by a client (e.g. cheating/hacking). Skillz hosts the servers which you have the option to customize based upon your games needs. The diagram below provides an overview of of the key components: