BattleShip Game Playing AI. AI works by calculating a Probability Density Function at the beginning of every move. For every location on the board, a probability of containing a ship is calculated, and next move is determined.
$ python3 playBattleship.py
Average number of moves to win: 50