Summary: | The AI is not smart enough | ||
---|---|---|---|
Product: | [Applications] knavalbattle | Reporter: | Jaime Torres <jtamate> |
Component: | general | Assignee: | Roney Gomes <roney477> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde-games-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/knavalbattle/c6990c5f4f429157c244b9f149d1b5f6ba0bfe3d | Version Fixed In: | 4.12 |
Sentry Crash Report: |
Description
Jaime Torres
2013-04-19 15:27:36 UTC
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 |