Either place all your ships on the board or let the computer do this randomly. The first one that sinks all the ships wins.