The Student Room Group

Computer sceince

Im trying to make a game with about 3 lifes wen u get hit and lose....however i need help to get the code on how to do that .... Can someone help!!!!!


Posted from TSR Mobile
??????????????????????????
Reply 2
Basically im making a dodging game...the requirements spec tells me to have some life lines each time u hit an object ur not supposed to(about 3)....need help to code that into python


Posted from TSR Mobile
Reply 3
Hi,
maybe you could make a health bar / count and for each item you hit that you are not allowed to, -1 from it?
And then if this variable = 0 then you lose..
Just an idea
Original post by : Nirmal :
Basically im making a dodging game...the requirements spec tells me to have some life lines each time u hit an object ur not supposed to(about 3)....need help to code that into python


Posted from TSR Mobile

Quick Reply

Latest

Trending

Trending