How to Beat HuntBot: Ship Placement That Costs the AI Extra Shots
HuntBot, this site's AI opponent, is not random, so a random layout is not the best defence. Its heat map prices the centre at 126 and a corner at 34, which means a fleet placed along the outer ring delays the first hit from shot 4 to shot 16 and pushes the average game from 44.8 to 53 shots. Here is the measured recipe, the exact positions, and the layouts that make it worse.
The short answer
Against HuntBot, the best measured placement is to keep the whole fleet on the outer ring: ships on row 1, row 10, column A or column J, with nothing in the middle. In 600 simulated games this layout made the AI take 53.0 shots on average, against 44.8 for random placement, and the first hit arrived on shot 15.7 instead of shot 4.2.
This works because the AI has no memory between games, so the same idea keeps working. It does not work against a human, who checks the edges early.
- Put all five ships on the outer ring — 36 cells are available and the fleet needs 17
- Spread the carrier and the battleship along the ring (the sample below puts them at opposite ends of column A)
- Suggested: put the destroyer on a far edge, away from the long ships
- Re-deploy before your first shot; the layout locks once you fire
- Do not use this against a friend: mixed layouts are stronger against humans
Why edges work: the map prices them low
HuntBot fires at the cell with the highest placement score. On an empty board that score is 126 at the centre (E5), 80 at the middle of an edge (E1) and 34 in a corner (A1). A ship on the outer ring sits in cells the map prices at 34–80, so the early shots — aimed at 100+ cells — all miss.
The map is recomputed after every miss, but the corner stays at 34 while four middle misses only drop the hottest cell from 126 to about 102. The delay is therefore measured in shots, not in luck.
The measurement
Four layout families, 600 games each, same engine and same HuntBot as the game, fixed seeds, random opponent fleet. The number counts the AI's shots until your fleet is sunk, so higher is better for you.
- Random placement: 44.8 shots, first hit on shot 4.2
- Centre 6×6 only: 38.6 shots, first hit on shot 1.6
- Outer two rings: 49.1 shots, first hit on shot 11.4
- Outer ring only: 53.0 shots, first hit on shot 15.7
These are measurements of this implementation, not a proof of optimality. The full algorithm is explained in the probability algorithm guide.
A sample game: ten shots, ten misses
Here is the AI's opening against one outer-ring fleet — carrier A6–A10, battleship A1–A4, cruiser C10–E10, submarine H10–J10, destroyer J2–J3: E5, F6, D4, G7, G3, H4, C7, D8, F2, I5. Ten shots, ten misses.
The first hit came on shot 22, and the AI needed 61 shots to finish that game. Against a random fleet, its first hit comes around shot 4 on average.
What does not help
Several intuitive ideas barely move the number. In 300-game samples, all-horizontal, all-vertical and fleets-with-ships-touching all landed within about one shot of random. Fleet orientation does not change how the map values a cell.
Minimising the number of hull cells on the even parity is real but small: fleets engineered down to 7 even-colour hull cells gained roughly 2 shots over random (46.3 vs 44.4). Parity controls when a ship is first touched; density controls where the bot looks. The outer ring exploits density, which is the bigger lever.
- All ships horizontal or vertical: no measurable difference
- Fleets where ships touch one another: no measurable difference
- Minimum even-parity coverage: about +2 shots
- All ships in one 5×5 corner: about 50 shots — better than random, worse than the ring, and the first place a human looks
The exact sample layout
The 53.0 average is over random fleets constrained to the outer ring. This is one of them, and it is the layout behind the 61-shot game above.
- Carrier: A6–A10 (vertical, column A)
- Battleship: A1–A4 (vertical, column A)
- Cruiser: C10–E10 (horizontal, row 10)
- Submarine: H10–J10 (horizontal, row 10)
- Destroyer: J2–J3 (vertical, column J)
Column A is long enough for both the carrier and the battleship; row 10 holds the cruiser and the submarine end to end; the destroyer sits alone on the opposite edge. Every ship stays on the outer ring, and no ship touches another.
Against a friend, play the opposite
A human opponent knows the edge trick and checks the border early. Against a friend, mix: some ships on the edge, some in open water, alternating orientations. The goal is to avoid the pattern a human expects, not the pattern a heat map prices.
HuntBot also does not remember your layout between games, so one good edge layout works every time. A human does remember: change the fleet against the same opponent, not every single game.
A five-point checklist
Before your first shot, run this list once. It costs nothing and is worth about 8 AI shots.
- All five ships on the outer ring (rows 1 and 10, columns A and J)
- Carrier and battleship at different ends of the ring
- Suggested: destroyer on the far side from the long ships
- No ship in the centre 6×6
- Press Re-deploy, place, then fire — the layout locks after the first shot
More on the AI's scoring: Battleship probability algorithm. More on hunting efficiency: how many shots a game takes.
FAQ
Can all five ships fit on the outer ring?
Yes. The ring has 36 cells and the fleet needs 17. The rules only forbid overlap and leaving the board, so an edge-only layout is legal. In 600 games it made HuntBot take 53.0 shots on average.
Does edge placement work against human players?
No. Humans check the edges early; the trick exploits HuntBot's heat map, which prices a corner at 34 against 126 in the centre. Against a friend, mix edges and open water.
Why not just place everything in one corner?
A 5×5 corner block scored about 50 shots in our samples — better than random (44.8) but worse than the outer ring (53.0), and it is the first place a human looks.