[Thread Prev] [Thread Next]
On Wed, 29 Apr 2009 12:48:17 -0500, Dawn Young <youngd@xxxxxxxxxxxxxxxxxxxxx>
> At first, we were trying to change the shape of one turtle to be the
> different size ships, but the programming doesn't make sense to me in
> that case:
Curious, It is hard for me to imagine how having a ship composed of different
turtles would help you.
> how would you determine the placement of the ships,
You could determine where they were placed by using a "probe" turtle that,
when placed in a cell, touches (or doen't touch) the ship/turtle
> the size
> of the ships, and monitor the hits without it being multiple turtles?
If each ship is just a turtle, then you would have different shapes for
I'm sending you a sample project
> I am trying to reason the steps out before we try writing the program.
That is an excelent habit.
Previous by thread:
Re: Battleship Game
Next by thread:
MIA, Ask an Expert: random needs more inputs
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.