Game Development Reference
In-Depth Information
Game Logic
In this chapter, we will learn all about exchanging game information among players
during game play. We will walk through the code related to game state exchange
and manipulation in the Hello World sample. We will also go over the Pulse Game
state-related APIs.
We will learn the following in specific detail:
• Types of game states
• Sending and receiving game states
• Synchronization of game states
Gameplay implementation
Gameplay is implemented by sharing user actions within the same environment—the
game. It gets interesting for game developers and designers because of the resulting
interaction due to multiple players affecting one another.
The player, upon interacting with the scene, sets a chain of events affecting other
players. In order to implement this type of interaction in an identical way across all
player's screen, we often need a central place to synchronize the events and to make
sure that all players are kept in sync. The server also has the responsibility to be fair
to all players, and finally offer security in the case of a player attempting to cheat
with a modified or hacked client.
However, simple or casual games may be implemented without customizing the
server for each particular game. The server, however, must provide some basic
model or a set of constructs with which the clients may interact to provide a good
gaming experience to the players.
Search WWH ::




Custom Search