Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta

Computer sceince watch

Announcements
    • Thread Starter
    Offline

    1
    ReputationRep:
    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
    Offline

    14
    ReputationRep:
    ??????????????????????????
    • Thread Starter
    Offline

    1
    ReputationRep:
    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
    Offline

    5
    ReputationRep:
    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
 
 
 
Poll
Do you agree with the proposed ban on plastic straws and cotton buds?
Useful revision links

Articles

Writing revision notes

Our top revision articles

Tips and advice on making the most of your study time.

Boomarked book

Superpowered study

Take the hard work out of revising with our masterplan.

Rosette

Essay expert

Learn to write like a pro with our ultimate essay guide.

Can you help? Study Help unanswered threadsStudy Help rules and posting guidelines

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.