[Kde-games-devel] Review Request 113054: Finally, implement a way to not shoot at places the AI already knows there are no ships.
Roney Gomes
roney477 at gmail.com
Fri Oct 18 15:39:18 UTC 2013
> On Oct. 18, 2013, 3:35 p.m., Roney Gomes wrote:
> > Ship It!
Thanks Jaime.
- Roney
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113054/#review41953
-----------------------------------------------------------
On Oct. 2, 2013, 4:44 p.m., Jaime Torres Amate wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113054/
> -----------------------------------------------------------
>
> (Updated Oct. 2, 2013, 4:44 p.m.)
>
>
> Review request for KDE Games and Roney Gomes.
>
>
> Bugs: 318594
> http://bugs.kde.org/show_bug.cgi?id=318594
>
>
> Repository: knavalbattle
>
>
> Description
> -------
>
> (the red spaces are already gone)
> Move the addBorder to the AI entity. 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.
> Added a getter for the adjacent ships property.
>
>
> Diffs
> -----
>
> src/ai/smartai.cpp 37021a8
> src/aientity.cpp c8fa775
> src/playerentity.cpp 8c7bf16
> src/sea.h c68f348
>
> Diff: http://git.reviewboard.kde.org/r/113054/diff/
>
>
> Testing
> -------
>
> played a lot against the AI, it does not use the cells around a sunk ship.
>
>
> Thanks,
>
> Jaime Torres Amate
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20131018/11fd0fbb/attachment.html>
More information about the kde-games-devel
mailing list