a rudimentary AI battleship game