Full Report for Comune by Kanare Kato

Full Report for Comune by Kanare Kato

Comune is a placement game using rectangular pieces. In this game, there are three different angles for placing the pieces, and you can place up to two pieces at different angles on your turn. However, you cannot place a piece adjacent to an opponent's piece at a different angle. Take advantage of the rules to create larger settlements as possible with your pieces.

Generated at 2024-10-30, 02:43 from 1000 logged games.

Rules

Representative game (in the sense of being of mean length). Wherever you see the 'representative game' referred to in later sections, this is it!

PLACEMENT RULES

Players place their pieces orientated along the lines of the grid.

Adjacent pieces matching both color and angle are considered to be a group.

The group size is the number of pieces in the group.

During the game, two pieces that differ in both color and angle cannot be adjacent to each other.

GAME PLAY

White plays first, then turns alternate.

White's first turn they place one piece. On subsequent turns, players place up to two pieces per turn; if two, the pieces cannot have the same orientation. Passing is allowed

GAME END

The game ends when neither player can place any more pieces, or when both players pass in succession.

Player score by finding the largest group of that orientation, and multiplying the three sizes together.

Largest score wins. In the case of a tie, the game is a draw.

Miscellaneous

General comments:

Play: Combinatorial

Family: Combinatorial 2023

Mechanism(s): Connection,Scoring

Components: Board

Level: Advanced

BGG Stats

BGG EntryComune
BGG Rating7.365
#Voters4
SD1.56514
BGG Weight0
#Voters0
Year2023

BGG Ratings and Comments

UserRatingComment
therevminN/APlays: 0
HCS_Elessar5.96
hippiephysicschickN/Anot made pnp need to print rules
pecan6.5
pasxalis198710
The Player of Games7

Kolomogorov Complexity Analysis

Size (bytes)27076
Reference Size10915
Ratio2.48

Ai Ai calculates the size of the implementation, and compares it to the Ai Ai implementation of the simplest possible game (which just fills the board). Note that this estimate may include some graphics and heuristics code as well as the game logic. See the wikipedia entry for more details.

Playout Complexity Estimate

Playouts per second13467.81 (74.25µs/playout)
Reference Size547285.16 (1.83µs/playout)
Ratio (low is good)40.64

Tavener complexity: the heat generated by playing every possible instance of a game with a perfectly efficient programme. Since this is not possible to calculate, Ai Ai calculates the number of random playouts per second and compares it to the fastest non-trivial Ai Ai game (Connect 4). This ratio gives a practical indication of how complex the game is. Combine this with the computational state space, and you can get an idea of how strong the default (MCTS-based) AI will be.

State Space Complexity

% new positions/bucket

State Space Complexity174256614 
State Space Complexity bounds65589497 < 174256614 < ∞ 
State Space Complexity (log 10)8.24 
State Space Complexity bounds (log 10)7.82 <= 8.24 <= ∞ 
Samples1089201 
Confidence0.000: totally unreliable, 100: perfect

State space complexity (where present) is an estimate of the number of distinct game tree reachable through actual play. Over a series of random games, Ai Ai checks each position to see if it is new, or a repeat of a previous position and keeps a total for each game. As the number of games increase, the quantity of new positions seen per game decreases. These games are then partitioned into a number of buckets, and if certain conditions are met, Ai Ai treats the number in each bucket as the start of a strictly decreasing geometric sequence and sums it to estimate the total state space. The accuracy is calculated as 1-[end bucket count]/[starting bucklet count]

Playout/Search Speed

LabelIts/sSDNodes/sSDGame lengthSD
Random playout16,471293992,15617,606606
search.UCT17,100789604

Random: 10 second warmup for the hotspot compiler. 100 trials of 1000ms each.

Other: 100 playouts, means calculated over the first 5 moves only to avoid distortion due to speedup at end of game.

Mirroring Strategies

Rotation (Half turn) lost each game as expected.
Reflection (X axis) lost each game as expected.
Reflection (Y axis) lost each game as expected.
Copy last move lost each game as expected.

Mirroring strategies attempt to copy the previous move. On first move, they will attempt to play in the centre. If neither of these are possible, they will pick a random move. Each entry represents a different form of copying; direct copy, reflection in either the X or Y axis, half-turn rotation.

Win % By Player (Bias)

1: White win %49.20±3.09Includes draws = 50%
2: Black win %50.80±3.10Includes draws = 50%
Draw %3.40Percentage of games where all players draw.
Decisive %96.60Percentage of games with a single winner.
Samples1000Quantity of logged games played

Note: that win/loss statistics may vary depending on thinking time (horizon effect, etc.), bad heuristics, bugs, and other factors, so should be taken with a pinch of salt. (Given perfect play, any game of pure skill will always end in the same result.)

Note: Ai Ai differentiates between states where all players draw or win or lose; this is mostly to support cooperative games.

UCT Skill Chains

MatchAIStrong WinsDrawsStrong Losses#GamesStrong Scorep1 Win%Draw%p2 Win%Game Length
0Random         
1UCT (its=2)619233239650.6228 <= 0.6534 <= 0.682750.572.3847.0560.14
5UCT (its=6)620213399800.6129 <= 0.6434 <= 0.672751.732.1446.1260.90
17UCT (its=18)621203369770.6153 <= 0.6459 <= 0.675249.032.0548.9360.45
34UCT (its=35)619243509930.6050 <= 0.6354 <= 0.664847.432.4250.1560.22
60UCT (its=61)624133409770.6148 <= 0.6453 <= 0.674748.411.3350.2659.95
76
UCT (its=77)
550
14
436
1000
0.5261 <= 0.5570 <= 0.5875
50.00
1.40
48.60
59.83
77
UCT (its=77)
489
28
483
1000
0.4721 <= 0.5030 <= 0.5339
50.10
2.80
47.10
59.73

Search for levels ended: time limit reached.

Level of Play: Strong beats Weak 60% of the time (lower bound with 95% confidence).

Draw%, p1 win% and game length may give some indication of trends as AI strength increases.

1st Player Win Ratios by Playing Strength

This chart shows the win(green)/draw(black)/loss(red) percentages, as UCT play strength increases. Note that for most games, the top playing strength show here will be distinctly below human standard.

Complexity

Game length60.58 
Branching factor46.56 
Complexity10^81.60Based on game length and branching factor
Computational Complexity10^7.22Sample quality (100 best): 11.74
Samples1000Quantity of logged games played

Computational complexity (where present) is an estimate of the game tree reachable through actual play. For each game in turn, Ai Ai marks the positions reached in a hashtable, then counts the number of new moves added to the table. Once all moves are applied, it treats this sequence as a geometric progression and calculates the sum as n-> infinity.

Move Classification

Board Size61Quantity of distinct board cells
Distinct actions184Quantity of distinct moves (e.g. "e4") regardless of position in game tree
Good moves62A good move is selected by the AI more than the average
Bad moves122A bad move is selected by the AI less than the average
Response distance%53.37%Distance from move to response / maximum board distance; a low value suggests a game is tactical rather than strategic.
Samples1000Quantity of logged games played

Board Coverage

A mean of 85.99% of board locations were used per game.

Colour and size show the frequency of visits.

Game Length

Game length frequencies.

Mean60.58
Mode[62]
Median60.0

Actions/turn

Table: branching factor per turn, based on a single representative* game. (* Representative in the sense that it is close to the mean game length.)

Action Types per Turn

This chart is based on a single representative* game, and gives a feel for the types of moves available throughout that game. (* Representative in the sense that it is close to the mean game length.)

Red: removal, Black: move, Blue: Add, Grey: pass, Purple: swap sides, Brown: other.

Trajectory

This chart shows the best move value with respect to the active player; the orange line represents the value of doing nothing (null move).

The lead changed on 8% of the game turns. Ai Ai found 4 critical turns (turns with only one good option).

Position Heatmap

This chart shows the relative temperature of all moves each turn. Colour range: black (worst), red, orange(even), yellow, white(best).

Good/Effective moves

MeasureAll playersPlayer 1Player 2
Mean % of effective moves43.9246.1341.78
Mean no. of effective moves19.5619.6019.52
Effective game space10^40.1310^21.1410^18.99
Mean % of good moves35.6617.1953.53
Mean no. of good moves16.6717.9015.48
Good move game space10^38.3210^14.6410^23.68

These figures were calculated over a single game.

An effective move is one with score 0.1 of the best move (including the best move). -1 (loss) <= score <= 1 (win)

A good move has a score > 0. Note that when there are no good moves, an multiplier of 1 is used for the game space calculation.

Quality Measures

MeasureValueDescription
Hot turns72.13%A hot turn is one where making a move is better than doing nothing.
Momentum24.59%% of turns where a player improved their score.
Correction27.87%% of turns where the score headed back towards equality.
Depth3.73%Difference in evaluation between a short and long search.
Drama0.86%How much the winner was behind before their final victory.
Foulup Factor39.34%Moves that looked better than the best move after a short search.
Surprising turns0.00%Turns that looked bad after a short search, but good after a long one.
Last lead change37.70%Distance through game when the lead changed for the last time.
Decisiveness24.59%Distance from the result being known to the end of the game.

These figures were calculated over a single representative* game, and based on the measures of quality described in "Automatic Generation and Evaluation of Recombination Games" (Cameron Browne, 2007). (* Representative, in the sense that it is close to the mean game length.)

Opening Heatmap

Colour shows the success ratio of this play over the first 10moves; black < red < yellow < white.

Size shows the frequency this move is played.

Unique Positions Reachable at Depth

0123
1183312511757901

Note: most games do not take board rotation and reflection into consideration.
Multi-part turns could be treated as the same or different depth depending on the implementation.
Counts to depth N include all moves reachable at lower depths.
Inaccuracies may also exist due to hash collisions, but Ai Ai uses 64-bit hashes so these will be a very small fraction of a percentage point.

Shortest Game(s)

No solutions found to depth 3.