Full Report for Tip Top Toe by Larry Back

Full Report for Tip Top Toe by Larry Back

Recursive Tic Tac Toe

Generated at 28/07/2021, 05:14 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!

Play in a cell; and all linked cells.

Make a line in a subgrid to control that subgrid.

Control a line of subgrids to win.

Miscellaneous

General comments:

Play: Combinatorial

Mechanism(s): Pattern,Strict Placement

Components: Board

BGG Stats

BGG EntryTip Top Toe
BGG Ratingnull
#Votersnull
SDnull
BGG Weightnull
#Votersnull
Yearnull

Kolomogorov Complexity Analysis

Size (bytes)30664
Reference Size10293
Ratio2.98

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 second36141.53 (27.67µs/playout)
Reference Size293134.78 (3.41µs/playout)
Ratio (low is good)8.11

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.

Playout/Search Speed

LabelIts/sSDNodes/sSDGame lengthSD
Random playout74,0624,2272,417,947138,141334
search.UCT76,6773,576257

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: Player 1 (Black) win %69.70±2.92Includes draws = 50%
2: Player 2 (White) win %30.30±2.77Includes 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.

UCT Skill Chains

MatchAIStrong WinsDrawsStrong Losses#GamesStrong Scorep1 Win%Draw%p2 Win%Game Length
0Random         
1UCT (its=2)63103579880.6082 <= 0.6387 <= 0.668053.740.0046.2632.24
7UCT (its=8)63103569870.6089 <= 0.6393 <= 0.668751.570.0048.4331.08
21UCT (its=22)63103359660.6226 <= 0.6532 <= 0.682654.040.0045.9630.40
34UCT (its=35)63102779080.6642 <= 0.6949 <= 0.724053.190.0046.8129.28
48UCT (its=49)63103389690.6206 <= 0.6512 <= 0.680550.570.0049.4328.64
65UCT (its=66)63103629930.6050 <= 0.6354 <= 0.664848.340.0051.6627.33
81UCT (its=220)63101427730.7875 <= 0.8163 <= 0.842051.750.0048.2524.66
82UCT (its=599)63101477780.7820 <= 0.8111 <= 0.837052.700.0047.3022.25
83UCT (its=1627)63101517820.7778 <= 0.8069 <= 0.833052.170.0047.8321.26
84UCT (its=4422)63101968270.7328 <= 0.7630 <= 0.790751.630.0048.3722.10
85UCT (its=12021)63102158460.7155 <= 0.7459 <= 0.774043.260.0056.7423.81
86
UCT (its=12021)
502
0
498
1000
0.4711 <= 0.5020 <= 0.5329
34.60
0.00
65.40
25.51

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 length27.01 
Branching factor52.61 
Complexity10^43.88Based on game length and branching factor
Computational Complexity10^6.36Sample quality (100 best): 9.11
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

Distinct actions82Number of distinct moves (e.g. "e4") regardless of position in game tree
Good moves43A good move is selected by the AI more than the average
Bad moves39A bad move is selected by the AI less than the average
Response distance4.02Mean distance between move and response; a low value relative to the board size may mean a game is tactical rather than strategic.
Samples1000Quantity of logged games played

Board Coverage

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

Colour and size show the frequency of visits.

Game Length

Game length frequencies.

Mean27.01
Mode[39]
Median25.0

Change in Material Per Turn

This chart is based on a single representative* playout, and gives a feel for the change in material over the course of a game. (* Representative in the sense that it is close to the mean length.)

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 37% 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 moves24.0623.2124.97
Mean no. of effective moves12.6712.8612.46
Effective game space10^23.7910^13.3210^10.47
Mean % of good moves14.0626.360.81
Mean no. of good moves7.4414.000.38
Good move game space10^13.2910^12.9910^0.30

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 turns70.37%A hot turn is one where making a move is better than doing nothing.
Momentum22.22%% of turns where a player improved their score.
Correction40.74%% of turns where the score headed back towards equality.
Depth3.38%Difference in evaluation between a short and long search.
Drama0.43%How much the winner was behind before their final victory.
Foulup Factor40.74%Moves that looked better than the best move after a short search.
Surprising turns14.81%Turns that looked bad after a short search, but good after a long one.
Last lead change81.48%Distance through game when the lead changed for the last time.
Decisiveness7.41%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.)

Swap Heatmap (Full Scan)

Colour shows the frequency of swaps on turn 2 if this move is played on turn 1; black < red < yellow < white.

Based on 100 trials/move at 0.1s thinking time each.

Openings

MovesAnimation
e2,i1,d5,b4,d6
e2,i1,d5,b4,d7
e2,i1,d5,a8,d6
e2,i1,d5,a8,d7
e2,i1,d5,h9,d6
e2,i1,d5,h9,d7
e2,i1,i5,b4,d6
e2,i1,i5,b4,d7
e2,i1,i5,a8,d6
e2,i1,i5,a8,d7
e2,i1,i5,h9,d6
e2,i1,i5,h9,d7

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.

Swap Heatmap (Historic)

Colour shows the frequency of swaps on turn 2 if this move is played on turn 1; black < red < yellow < white.

Size shows the frequency this move is played.

Unique Positions Reachable at Depth

012345
1391560304595513826802458

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

Puzzles

PuzzleSolution

Player 1 (Black) to win in 3 moves

Player 2 (White) to win in 10 moves

Player 1 (White) to win in 8 moves

Player 2 (White) to win in 10 moves

Player 1 (Black) to win in 7 moves

Player 1 (Black) to win in 9 moves

Player 1 (Black) to win in 9 moves

Player 1 (Black) to win in 7 moves

Player 2 (Black) to win in 7 moves

Player 2 (Black) to win in 7 moves

Player 1 (Black) to win in 7 moves

Player 1 (Black) to win in 3 moves

Selection criteria: first move must be unique, and not forced to avoid losing. Beyond that, Puzzles will be rated by the product of [total move]/[best moves] at each step, and the best puzzles selected.