GAME

Name

GAME -- List entry describing one game type

Synopsis

<GAME ID="id" NAME="name" VERSION="version"> <PROTOCOL ENGINE="engine" VERSION="version"/> <ALLOW PLAYERS="players" BOTS="bots" SPECTATORS="spectator"/> <ABOUT AUTHOR="author" URL="url"/> <DESC>desc</DESC> </GAME>
DataTypeExample
IDint0
NAMEstringTicTacToe
VERSIONstring0.2
ENGINEstringTicTacToe
PLAYERSstring4
BOTSstring1..3
SPECTATORSstringtrue
AUTHORstringAnonymous Coward
URLstringhttp://www.ggzgamingzone.org/gameclients/
DESCstringMy first game

Description

A list entry describing one game at a GGZ server, which may be used in one or more rooms.

Message Data

ID

Unique identifier for this game

NAME

The name of the game

VERSION

Game server program version, and game server/client communication protocol version

ENGINE

Generalized game type, which is used for frontend selection

PLAYERS

The number of players allowed in this game, in the form of a list of individual numbers and/or a single range of numbers, separated by spaces. For instance '1 2 3 5..10' includes both a list and a range.

BOTS

The number of AI bots allowed at a table of this game. The form is that of a number list (the same as for the PLAYERS element). Zero bots is always allowed and will not be listed.

SPECTATORS

Whether spectators are allowed or not, either 'true' or 'false'.

AUTHOR

Name of the author or author team

URL

Pointer to the project homepage of the game server

DESC

Description for the game type offered by this server

Usage

After the client requested the list of games, a LIST containing some game entries is sent from the server to the client.