Battleship: Stats

The following are the latest statistics from my Battleship game, where you can play against a probabilistic algorithm (which I generously refer to as an AI). Most of these charts (except the very first one) ignore games played using the "play for me" option. Got another idea for how I could use all this data? Please let me know!

AI Mode

Data Type

Game Length (in Moves) – All AI Modes






Game Length (in Moves) – Learning Mode






Game Length (in Moves) – Probability Mode






Game Length (in Moves) – Random Mode






Ship Placement – All AI Modes

Player Ships

AI Ships


The first board above is a heat map of player ships from every single game, regardless of any options chosen by the player. This is the data set used by the "Learning" AI Mode to better predict player ship locations. Players seem to favour putting their ships away from the center.

The other board is a heat map of all AI ship locations over all games. The AI places its ships randomly; the fact that this heat map closely resembles the one provided by the Probability Calculator for a blank board means this random ship placement is behaving as expected.

Ship Placement – Learning Mode

Player Ships When the AI Loses

The AI's Ships When it Loses


Player Ships When the AI Wins

The AI's Ships When it Wins

Ship Placement – Probability Mode

Player Ships When the AI Loses

The AI's Ships When it Loses


Player Ships When the AI Wins

The AI's Ships When it Wins

Ship Placement – Random Mode

Player Ships When the AI Loses

The AI's Ships When it Loses


Player Ships When the AI Wins

The AI's Ships When it Wins

Trivia – All AI Modes

Best AI Score: 18 moves (1 miss)

– Learning Mode

Best Player Score: 17 moves (0 misses)

– Learning Mode

Longest Game: 99 moves

– Random Mode; Player won with 82 misses

Autoplayed Games: 375 (2.4% of Total)

– AI Win percentage: 82.9%

Last Five Games

Time Winner Moves AI mode
23 hrs ago
Player
45 Learn
yesterday
AI
27 Learn
3 days ago
Player
38 Learn
3 days ago
Player
56 Learn
3 days ago
AI
33 Learn

Trivia – Learning Mode

Best AI Score: 18 moves (1 miss)

Best Player Score: 17 moves (0 misses)

Longest Game: 65 moves

– AI won with 48 misses

Last Five Games

Time Winner Moves
23 hrs ago
Player
45
yesterday
AI
27
3 days ago
Player
38
3 days ago
Player
56
3 days ago
AI
33

Trivia – Probability Mode

Best AI Score: 18 moves (1 miss)

Best Player Score: 25 moves (8 misses)

Longest Game: 62 moves

– AI won with 45 misses

Last Five Games

Time Winner Moves
4 days ago
AI
48
1 week ago
AI
40
3 weeks ago
AI
32
1 month ago
AI
45
1 month ago
Player
38

Trivia – Random Mode

Best AI Score: 75 moves (58 misses)

Best Player Score: 30 moves (13 misses)

Longest Game: 99 moves

– Player won with 82 misses

Last Five Games

Time Winner Moves
1 week ago
Player
63
1 week ago
Player
44
1 week ago
Player
95
2 weeks ago
Player
48
2 weeks ago
Player
45