Full Report for Tic Tac Chess by Michael Waitsman

Full Report for Tic Tac Chess by Michael Waitsman

Get 3 in a row

Generated at 05/08/2021, 17:40 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

First take turns placing your pieces on the board.

Once all pieces are on the board, take turns moving your pieces, as follows:

King
One space in any direction, or jump over an adjacent piece.
Queen
One or two spaces in any direction, or jump over an adjacent piece.
Rook
One or two spaces orthogonally, or jump over an adjacent piece.

Goal

The first to make a line of three (orthogonally or diagonally) wins.

Miscellaneous

General comments:

Play: Combinatorial

Family: Line games

Mechanism(s): Line

BGG Stats

BGG EntryTic Tac Chess
BGG Ratingnull
#Votersnull
SDnull
BGG Weightnull
#Votersnull
Yearnull

Kolomogorov Complexity Analysis

Size (bytes)24878
Reference Size10293
Ratio2.42

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 second126555.05 (7.90µs/playout)
Reference Size1830831.20 (0.55µs/playout)
Ratio (low is good)14.47

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 Complexity1370205 
State Space Complexity (log 10)6.14 
Confidence98.880: totally unreliable, 100: perfect
Samples1159755 

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 playout253,7155,6193,384,76074,476138
search.UCT286,54397,196302

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 %79.70±2.60Includes draws = 50%
2: Black win %20.30±2.38Includes draws = 50%
Draw %26.40Percentage of games where all players draw.
Decisive %73.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)620223429840.6108 <= 0.6413 <= 0.670651.832.2445.9311.43
4UCT (its=5)63013679980.6014 <= 0.6318 <= 0.661151.600.1048.309.12
8UCT (its=9)63103509810.6127 <= 0.6432 <= 0.672657.700.0042.307.51
14UCT (its=15)63103689990.6013 <= 0.6316 <= 0.661064.360.0035.646.66
27UCT (its=73)63101057360.8302 <= 0.8573 <= 0.880858.290.0041.717.03
28UCT (its=200)5771071288120.7466 <= 0.7765 <= 0.803847.0413.1839.7813.87
29UCT (its=542)3216196010000.6001 <= 0.6305 <= 0.659920.2061.9017.9023.27
31
UCT (its=4007)
126
874
0
1000
0.5321 <= 0.5630 <= 0.5934
6.80
87.40
5.80
27.39
32
UCT (its=4007)
2
995
3
1000
0.4686 <= 0.4995 <= 0.5304
0.50
99.50
0.00
29.89

Search for levels ended. Close to theoretical value: draw.

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 length12.45 
Branching factor12.91 
Complexity10^11.26Based on game length and branching factor
Computational Complexity10^4.75Sample quality (100 best): 67.40
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 Size9Quantity of distinct board cells
Distinct actions83Quantity of distinct moves (e.g. "e4") regardless of position in game tree
Good moves53A good move is selected by the AI more than the average
Bad moves30A bad move is selected by the AI less than the average
Response distance%72.78%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 75.26% of board locations were used per game.

Colour and size show the frequency of visits.

Game Length

Game length frequencies.

Mean12.18
Mode[5]
Median7.0

Change in Material Per Turn

Mean change in material/round0.43Complete round of play (all players)

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 8% of the game turns. Ai Ai found 2 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 moves50.1175.7524.46
Mean no. of effective moves4.676.333.00
Effective game space10^6.4310^4.7010^1.73
Mean % of good moves26.603.0050.20
Mean no. of good moves1.830.503.17
Good move game space10^2.9510^0.3010^2.65

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 turns75.00%A hot turn is one where making a move is better than doing nothing.
Momentum16.67%% of turns where a player improved their score.
Correction16.67%% of turns where the score headed back towards equality.
Depth0.98%Difference in evaluation between a short and long search.
Drama0.00%How much the winner was behind before their final victory.
Foulup Factor33.33%Moves that looked better than the best move after a short search.
Surprising turns8.33%Turns that looked bad after a short search, but good after a long one.
Last lead change16.67%Distance through game when the lead changed for the last time.
Decisiveness41.67%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.)

Openings

MovesAnimation
Ka1,Qa3,Rc2,Kc3,Qb3
Rc2,Kc3,Ka1,Qa3,Qb3
Rc2,Qa3,Ka1,Kc3,Qb3
Kb2,Rb1,Qa3,Kb3
Kc3,Qa3,Rb1,Rb3
Qa3,Rb1,Kb2,Kb3
Rb1,Qa3,Kc3,Rb3
Rb2,Qc1,Kc2,Ka3
Rc2,Qc3,Qa2,Rb1
Ka1,Qa3,Rc2,Kc3
Qc2,Qa2,Kb3,Kb1
Rc2,Kc3,Ka1,Qa3

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

0123456789101112131415161718192021222324252627282930
127675521132427777871382671987472592273197073801874406675011475616276221076825877430678035478640279245079849871045467110594711664271226907128738713478671408347146882715293071589787

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)

            

4320 solutions found at depth 5.

Puzzles

PuzzleSolution

White to win in 3 moves

Black to win in 3 moves

Black to win in 3 moves

White to win in 3 moves

White to win in 3 moves

White to win in 3 moves

White to win in 3 moves

Black to win in 3 moves

Weak puzzle selection criteria are in place; the first move may not be unique.