Revision c6990c5...
Go back to digest for 20th October 2013Features in Games
Jaime Torres Amate committed changes in [knavalbattle] /:
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
File Changes
Modified 4 files
- src/aientity.cpp
- src/playerentity.cpp
- src/sea.h
- src/ai/smartai.cpp
4 files changed in total