Hearthstone Example

This tutorial section provides a worked example of how to create a Hearthstone-style card game on the GameSparks platform using already existing components and combining them to produce a fully-functioning game in the cloud. We'll use the Game Data Service, Matches, Challenges, Cloud Code, Events, Modules, and the Test Harness to ensure the game is developed and functions the way we want it to.

For the worked example, we'll create a card game where each card represents a pre-defined type of card with attack, hit points, tier, and effect stats. Two players are pitted against each other and use the cards to lower each other's health to 0. First player to reach 0 loses.

The example is broken down into three parts:

After following this worked example, you should be a lot more comfortable creating games on our platform and you get the chance to work on the platform and experiment with the overall framework.

Matchmaking Availability? The Matchmaking feature is no longer available to games created on or after February 19th, 2019, or for games created before February 19th, 2019 that had not yet used the feature. If you require Matchmaking for your game and do not have access under your current plan, please contact us to discuss the Enterprise Pricing Tier.