이름 |
설명 |
AdaptiveBattleshipDefense |
Battleship defense that attempts to place ships in the least probable locations based on ship position possibilities and previous incoming shots |
AdaptiveBattleshipOffense |
Battleship offense that attempts to shoot at the most probable location on the board, given possible ship positions and previous placement history |
AdaptiveBattleshipPlayer |
Battleship player who plays the odds and attempts to learn from opponent |
BattleshipData |
Data stored about an opponent |
BattleshipStatisticalUtility |
Utility methods |
Program |
Main program |
Score1D |
Keeps track of the number of ship position possibilities in one dimension |
Score2D |
Keeps track of the number of ship position possibilities in two dimensions |
ShipPossibility |
Utility class to track possible positions |