Battleship with simple AI

AI shoots at a random field, if hit chooses a direction and shoots until mishit