On 07/07/13 23:40, Jack Little wrote:
When the player of my game fire his/her cannon, it is supposed to get
rid of some of the enemy's health. It does not. I have no clue what the
error is,
Its not entirely clear to me who is 'you' and who is 'the enemy'
Why does the enemy firing a cannon at me
On 08/07/13 08:40, Jack Little wrote:
def lvl4combat():
print "The barracks are constructed of wood and cobblestone."
print "A large, single cannon sits on the top, searching the sky for enemy
airships."
print "The cannon is manned by a single team of three men."
print "The
On 07/07/2013 06:40 PM, Jack Little wrote:
When the player of my game fire his/her cannon, it is supposed to get rid of
some of the enemy's health. It does not. I have no clue what the error is, so I
need help. Here is the Python Shell output:
fire cannon 1
Fired!
Enemy health= 75
They fired
When the player of my game fire his/her cannon, it is supposed to get rid of
some of the enemy's health. It does not. I have no clue what the error is, so I
need help. Here is the Python Shell output:
>>fire cannon 1
Fired!
Enemy health= 75
They fired at you!
Your health is now 55
>>fire cannon