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 on 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.