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
PLAYERSint4
BOTSint0
SPECTATORSint8
AUTHORstringAnonymous Coward
URLstringhttp://ggz.sourceforge.net/
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

Player configuration

BOTS

Bots (AI players) configuration

SPECTATORS

Number of allowed spectators

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.