Full Report for Wunchunk by Craig Duncan

Full Report for Wunchunk by Craig Duncan

Rules

Play

Players take turns placing stones, until the board is full or until all players pass consecutively. Groups of like-coloured stones are chunks if they contain two or more stones; single stones are merely crumbs.

On his/her turn, a player is allotted a number of stones equal to his/her current number of chunks. A player may play any number of stones from 0 (a pass) up to his/her allotted number. A player may play any colour of stone (even an opponent's colour); multiple stones can be any colour or colour mix.

Goal

The winner is the player with the fewest CHUNKS in his/her colour of stones.In the case of a tie in the number of chunks, the tied player with the fewest smallest groups wins. That is, tied players compare their number of CRUMBS; the player with the fewest crumbs wins. If the number of crumbs is also tied, then players compare their number of groups consisting of just two stones; the player with the smallest number of size-2 groups wins - and so on up through the various sizes (size-3, size-4, ...) until the tie is broken.

(In the two player game, an all the way up tie is mathematically impossible so long as the players did not prematurely pass; eventually the tie will necessarily be broken as players compare larger and larger groups. In the multi-player game, an all the way up tie is theoretically possible but non-existent in practice.)

Pie Rule

In the two player game, in order to offset the first player advantage, the PIE rule applies: After Player 1 plays his/her stone, Player 2 decides whether to play a stone to the board or switch colours with Player 1. (If switch colours is chosen, then the player who was formerly Player 1 is now Player 2, and immediately plays a stone as his/her turn #1 move.)

Miscellaneous

General comments:

Play: Combinatorial

Family: Connection,Scoring,Strict PLacement,Combinatorial 2019

Mechanism(s): Scoring

Components: Board

Level: Standard

BGG Stats

BGG EntryWunchunk
BGG Rating0
#Voters0
SD0
BGG Weight0
#Voters0
Year2019

Levels of Play

AIStrong WinsDrawsStrong Losses#GamesStrong Win%p1 Win%Game Length
Random       
Rαβ + ocqBKs (t=0.01s)36044090.0047.50148.15
Rαβ + ocqBKs (t=0.07s)360104678.2652.17155.37
Rαβ + ocqBKs (t=0.20s)36013797.3048.65165.92

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

Draw%, p1 win% and game length may give some indication of trends as AI strength increases; but be aware that the AI can introduce bias due to horizon effects, poor heuristics, etc.

Kolomogorov Complexity Estimate

Size (bytes)30205
Reference Size10293
Ratio2.93

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 second12613.27 (79.28µs/playout)
Reference Size1503759.40 (0.67µs/playout)
Ratio (low is good)119.22

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.

Win % By Player (Bias)

1: Player 1 (Black) win %47.30±3.08Includes draws = 50%
2: Player 2 (White) win %52.70±3.10Includes draws = 50%
Draw %0.00Percentage of games where all players draw.
Decisive %100.00Percentage 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.

Playout/Search Speed

LabelIts/sSDNodes/sSDGame lengthSD
Random playout13,355632,224,26910,4541676
search.UCB13,40115915138
search.UCT13,22015315238
search.Minimax876,818100,78711266
search.AlphaBeta130,41712,8331671

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.

Complexity

Game length163.61 
Branching factor168.47 
Complexity10^343.11Based on game length and branching factor
Computational Complexity10^7.43Saturation reached - accuracy very high.
Samples1000Quantity of logged games played

Move Classification

Distinct actions332Number of distinct moves (e.g. "e4") regardless of position in game tree
Good moves199A good move is selected by the AI more than the average
Bad moves133A bad move is selected by the AI less than the average
Samples1000Quantity of logged games played

Change in Material Per Turn

This chart is based on a single playout, and gives a feel for the change in material over the course of a game.

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).

First player's position continued to deteriorate throughout the game. The lead changed on 50% of the game turns. Ai Ai found 0 critical turns (turns with only one good option).

Overall, this playout was 50.00% hot.

Position Heatmap

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

Actions/turn

Table: branching factor per turn.

Action Types per Turn

This chart is based on a single playout, and gives a feel for the types of moves available over the course of a game.

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

Unique Positions Reachable at Depth

0123
1331554436233281

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)

 

1 solutions found at depth 2.

Openings

MovesAnimation
Wh11,Wi11,Wh10
Wi11,Wh11,Wh10
Bm4,Wj5
Bj7,Wg4
Wg4,Bj7
Wj5,Bm4
Bf6,Wi5
Bb15,Wo8
Wk4,Wj5
Wi5,Bf6
Wj5,Wk4
Wo8,Bb15
Bj2,Wo5
Wo5,Bj2
Wh11,Wi11
Wi11,Wh11
Wg14,Wf15
Wf15,Wg14
Bi2
Bk2