The AI is trying between the ships in the case there is no ship adjacent. Reproducible: Always Expected Results: Do not try where it is sure there will be no ships. I hope to have time to fix it.
Git commit c6990c5f4f429157c244b9f149d1b5f6ba0bfe3d by Jaime Torres. Committed on 18/10/2013 at 16:17. Pushed by jtamate into branch 'master'. make the AI smarter to not shoot at places it knows there are no ships When notify is called after a shoot, and an opponent ship is sunk, mark the surrounding cells as border, therefore the AI will not try them in the future. FIXED-IN: 4.12 REVIEW: 113054 M +1 -0 src/ai/smartai.cpp M +10 -0 src/aientity.cpp M +0 -7 src/playerentity.cpp M +1 -0 src/sea.h http://commits.kde.org/knavalbattle/c6990c5f4f429157c244b9f149d1b5f6ba0bfe3d