- Be the player with the largest score.
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
This is a league based challenge.
Wood leagues should be considered as a tutorial which lets players discover the different rules of the game.
In Bronze league, all rules will be unlocked and the real challenge will begin.
This is a port of the board game Kingdomino by Bruno Cathala and Cyril Bouquet.
The source code of the game is available here.
The goal is to build the wealthiest territory by carefully choosing and placing land tiles, thus creating the largest and richest connected zones.
The tile textures are from this OpenGameArt pack.
The logo has been generated on Render Forest.
The game is played with land tiles. Each tile is a domino with two squares. There are 6 different terrain type: corn field, forest, grassland, lake, wetland and mine. Each square may also contain up to 3 crowns that will reinforce the value of the zone containing the square.
Each tile has a unique ID, roughly indicating its "value". Tiles with more crowns or rare terrain types have larger IDs, whereas tiles with common terrain types and few or no crowns have lower IDs.
Players build their own, separate territory, starting from their castle and expanding by placing new land tiles next to existing land, thus creating connected zones of the same terrain type.
The game contains a fixed set of 48 tiles, distributed in sets over several turns. Each tile is therefore available only once in the game.
The full list of tiles is available here as a CSV file.
On each turn, each player executes a sequence of two actions:
PUTa tile on their territory PICKthe tile they will play on the next turn
The order of play in each turn is determined by the value of the chosen tiles, as explained below in the Tile choice rules section. On the first turn, the order is that of the IDE.
In this 2-player version, 4 tiles are available for each turn and each player plays twice, excuting two separate and
independent sequences of
Tile placement rules
- Tiles may be rotated in any orientation.
- Tiles may not overlap the castle.
The horizontal and vertical extent of the resulting territory must not exceed
- If a tile cannot be placed according to these constraints, it is discarded.
- There is no tile placement on the first turn.
Tile choice rules
- 4 new tiles are available for pick on each turn.
- Each tile can be chosen by only one player: the first player has the most choice, the others have to pick from whatever is left.
- The tiles are ordered by ascending ID: on the following turn, the player who picked the tile with the lowest ID will play first (and get the largest choice from the new tiles), whereas the player who picked the tile with the highest ID will play last. This means that players may perform their put+pick sequences sequentially or alternately, depending on the IDs order.
- There is no tile choice on the last turn.
- The game always lasts exactly 13 turns.
- Each player's territory is composed of several connected zones, each of a specific terrain type. Each zone has a value equal to its size (in number of squares) multiplied by the number of crowns contained in that zone.
- A zone containing no crowns is thus worth zero points.
- The full score of a player's territory is the sum of the scores of all zones in that territory.
- In case of a score tie, the players with the largest territory (in number of squares) each receive one extr point for tie-breaking.
- In case of a second score tie, the players with the largest number of crowns each receive one extra point for tie-breaking.
- After that, players may be tied for good.
- Have a lower score.
- Output an invalid
One char representing the terrain type: empty (
_), castle ( *), corn field ( c), forest ( f), grassland ( g), lake ( l), wetland ( w) or mine ( m).
- One char between
0and 3for the number of crowns on that square.
- The castle is always located at the center of the grid.
IMPORTANT: the grid given in input is larger than what the viewer displays. The viewer only shows a subwindow of the grid that fits the maximal allowed extent.
- x and y are the location of the first square of the tile.
rotation determines the location of the second square:
0is on the right of the first square, 1is below, 2is on the left, 3is above.
- In the case where there is no valid placement for the tile, values on this line are ignored - however the line still needs to be given with the expected format.
In Wood leagues, invalid
PUTcommands will cause the tile in play to be discarded.
- Both commands must always be given and correctly formatted on every turn.
- On the first turn, the values given to the
PUTcommand are ignored.
- On the last turn, the value given to the
PICKcommand is ignored.
Badly formatted commands and invalid
PICKactions will end the player's game. The score is still taken into account at the end of the game.
Coders of the Realm
After his last victorious conquest, the king is granting territories to his faithful lords as a reward for their participation in the battles. In order to avoid strife among them, the king has designed a way to ensure each lord gets a fair mix of the richer and poorer lands.
Yet, if you are more cunning than the other lords, you might still be able to build the best land for yourself!
A higher resolution is required to access the IDE