please help me
how to give the counterlife function in this game
my head is already dizzy to do this task
project in this link :
https://www.greenfoot.org/scenarios/24666
There basically is no code. There is an int field in the level1 world class that is set to 3 and there is an empty life class. That is it. No code to change the field value. No code to check its value for game over. No code to add a life object into the world. No image, default or otherwise, for a life instance. NO attempted code at all.