Battleship: Stats

The following are the latest statistics from my HTML5 Battleship game, where you can play against a probabilistic algorithm (which I generously refer to as an A.I.). Most of these charts (except the very first one) ignore games played using the "play for me" option.

More Stats

Data Type
AI Mode

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: 100 moves

– Random Mode; Player won with 83 misses

Last Five Games

Time Winner Moves AI mode
2 hrs ago
Player
43 Learn
2 hrs ago
AI
40 Learn
2 hrs ago
AI
42 Learn
3 hrs ago
Player
25 Learn
7 hrs ago
Player
93 Rand

Trivia – Learning Mode

Best AI Score: 18 moves (1 miss)

Best Player Score: 17 moves (0 misses)

Longest Game: 68 moves

– Player won with 51 misses

Last Five Games

Time Winner Moves
2 hrs ago
Player
43
2 hrs ago
AI
40
2 hrs ago
AI
42
3 hrs ago
Player
25
8 hrs ago
AI
49

Trivia – Probability Mode

Best AI Score: 18 moves (1 miss)

Best Player Score: 20 moves (3 misses)

Longest Game: 64 moves

– Player won with 47 misses

Last Five Games

Time Winner Moves
yesterday
AI
55
yesterday
AI
48
4 days ago
AI
32
6 days ago
AI
52
2 weeks ago
AI
48

Trivia – Random Mode

Best AI Score: 66 moves (49 misses)

Best Player Score: 26 moves (9 misses)

Longest Game: 100 moves

– Player won with 83 misses

Last Five Games

Time Winner Moves
7 hrs ago
Player
93
yesterday
Player
28
yesterday
AI
94
2 weeks ago
Player
55
2 weeks ago
Player
48

Back to the game