It just shot randomly all over the board (and also next to any hits it got, of course) and couldn't "realise" what you were doing. A human player would figure this out pretty quickly. Definitely by the second game. :-)
But if it just shoots randomly it doesn't matter if they are near the edges or not. The positioning doesn't matter at all in that case, as everything is equally likely to be hit. So it either has to shoot more to the center or not shoot close to an already sunk ship.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
I remember playing physical battleship with my brother, the most troll strategy was to put all your ships in a big clump next to each other. It made it impossible to figure out what was being shot at since they could get 5 hits in a row and still not sink anything.
View all comments
Show parent comment
40
u/dansdata Jun 10 '23
I remember playing a Battleship game on my Amiga in the 1980s.
If you put all of your ships on the edges of the board, you'd win every time.