skiadas / battleship

0 stars 13 forks source link

Functions for the Ship Class #24

Closed MorganChG closed 1 day ago

MorganChG commented 3 weeks ago

The AI needs two functions from the Ship Class

isOnGrid which returns a boolean on the grid or not isOverlapping which returns whether another ship is overlapping

Alexis-Brockway commented 1 day ago

done