In Capid games are described with a xml file

Fielname must be: $type.xml where $type is name of the gametype

1. Indrocuction:
<?xml version="1.0" encoding="$encoding"?>

replace $encoding with the encoding of the file.

2. Root Element:
Every Capid-Game has the root element <capigame />
It is opened with <capigame>
and closed with </capigame>

2.1 Genreal data:
To describe general data for a game start a <general /> element within the <capigame /> element.
It is opend with <general>
and clodes with </general>

Possbile properties:
NAME        | TYPE     | DESCRIPTION
name        : string   : The Name of the game
description : string   : A short descriptin of the game
minplayers  : int      : The minimal number of players to start a game
maxplayers  : int      : The maximal number of players that the game can have
houses      : int      : The number of houses that the game provides.
hotels      : int      : The number of hotels that the gae provides.
startmoney  : int      : Tha amount of money hat every player gets a the start of the game.

To describe a property use <$property>$value</$property> within a <general /> element.
Replace $property with one of the property-names above.
The property 'description' can also have the attribute lang="$langcode$ to make a game description for several
languages.

2.2 Board data
To describe board data, open a <board /> Element within a <capigame /> element
It is opened with <board>
and closed with </board>

Possbile properties:
NAME        | TYPE     | DESCRIPTION
go          : int      : The esatateid where the players will start
bgcolor     : string   : The background color of the board (Use HTML color format!)

To describe a property use <$property>$value</$property> within a <general /> element.
Replace $property with one of the property-names above

2.3 Estategroups:
To describe a estategroup, open a <estategroup /> Element within a <capigame /> element
It is opened with <estategroup id="$id" name="$name">
and closed with </estategroup>

Replace $id with an int that gives the id (must be uniqe!) of the estate
Replace $name with a name for the esatategroup.

Possbile properties:
NAME        | TYPE     | ATTRIBUTE | ATTR-TYPE | DESCRIPTION
color       : string   :           :           : The forecolor of the group. Use HTML color format!
houseprice  : int      :           :           : The price of a house within the group
price       : int      :           :           : The price that every estate of teh group will cost. It overwrites the <price> property in an <estate /> element.
rentmath    : string   :           :           : A mathematical expression that calculates the rent, if a player lands on it. This property overwrites the <rent /> and <rentmath /> property in the <estate /> element.
name        : string   : lang      : lang-code : Gives names for several languages. This property can be defined several times for multiple languages

To describe a property use <$property>$value</$property> within a <estategroup /> element.
Replace $property with one of the property-names above.

2.4 Cardgroups:
To describe a estategroup, open a <cardgroup /> Element within a <capigame /> element
It is opened with <cardgroup name="$name">
and closed with </cardgroup>

Replace $name with a name for the cardgroup.

2.4.1 Cards:
To crate a card within a cardgroup create a <card /> element within a <cardgroup /> element.
It is opend with <card> and closed with <card />

Possible properties:
Possbile properties:
NAME        | TYPE     | ATTRIBUTE | ATTR-TYPE | DESCRIPTION
text        : string   :           :           : The text of the card
houseprice  : int      :           :           : The price of a house within the group
price       : int      :           :           : The price that every estate of teh group will cost. It overwrites the <price> property in an <estate /> element.
rentmath    : string   :           :           : A mathematical expression that calculates the rent, if a player lands on it. This property overwrites the <rent /> and <rentmath /> property in the <estate /> element.
name        : string   : lang      : lang-code : Gives names for several languages. This property can be defined several times for multiple languages

To describe a property use <$property>$value</$property> within a <card /> element.
Replace $property with one of the property-names above.
