To Your Battle Stations!


#1




The instructions to use turn+1 seems a little odd.


I feel like it should be turn+2 instead, because I would expect to see Turn 2 after my first guess. I used the code below instead. Does it make sense or am I missing something...?


print "Turn", turn+2


#2

I'm pretty sure you are adding one turn every time, but then again, I could be wrong


#3

Turn is set at 0 at the beginning instead of 1 right?
So the player's first guess is actually Turn 0.

Or is there a way I can set the variable Turn to 1 instead of 0?


#4

Ahhh. I figured it out. Just needed to add turn = turn + 1 and change the turn == 4 for game over.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.