Battleship discussions on the code to sink a ship in the upper left corner of a 3 by 3 board
Homework: Battleship
Write the program to find the ship:
game1 = [0,0,0,0,1,1,0,0,0,0]
The first position on the list is not part of the board.
Battleship discussions on the code to sink a ship in the upper left corner of a 3 by 3 board
Homework: Battleship
Write the program to find the ship:
game1 = [0,0,0,0,1,1,0,0,0,0]
The first position on the list is not part of the board.