Game Play. The initial state of a Mahjong game is initialized by the game server. The game state keeps changing by player's game actions until the game reaches its end. Thus, the game play management on client side has two basic functions. First, it provides client logic to show game state changes; and the second it offers easy ways for players to take game actions. The game status management includes the following functionality, it: · Provides data structure to represent game elements, including players, seats, Mahjong tiles, dice and avatars. · Imparts data structure to maintain game state. The game state consists of the status of all game elements. · Maps game server message contents to game element status. · Updates game element status on receiving server messages. · Implements visual representations for each game element and their status. · Provides game client logic that understands Mahjong game table layout, game element positions, Mahjong tile orientations, and the relationships among different game elements. · Provides game client logic that maps game status change to visual game element rendering. · By entering the game, players engage to play the game to the end. If the player leaves the game, either through disconnection, client machine failure or,Fas a willful act, the player's drawn tile will be automatically discarded. The player cannot win or draw an offered discarded tile. The timeout depends on various room settings.
Appears in 2 contracts
Sources: Software License and Development Agreement (Dynasty Gaming Inc), Software License and Development Agreement (Dynasty Gaming Inc)