Single-player Game Tutorial
In a single-player game, each player sees only his or her own decisions and results. The decisions and results of other players are hidden. Only a run’s leaders can access the decisions and results of all the run’s players.
This tutorial will walk you through the creation of the single-player
This game implements a model that takes a number and adds it to the current total.
The game has a single
Play phase and does not define any player roles.
This project, though basic, will demonstrate how the various pieces of Simpl interact to provide a platform
upon which single-player games can be created.
The foundation of Simpl is the Games API Service. This service provides REST API endpoints that allow a game to store information about its current state in the Simpl database.
The Model Service provides the mathematical component of a Simpl game, it interacts with the Games API and provides messaging to the Frontend UI regarding game state. More information can be found here.
Start by running the Simpl Games API Service following the getting started instructions.
Next, we’ll implement our Model Service providing the mathematical model for
Last, we’ll build our Frontend’s user-facing pieces.