Some help in my game pls

hi , i finally make the bomb to move random and the tank to move left and right , but , when i hit the space bar , the bullet won’t shoot and when the bomb reach the land , it won’t reset pls help

pls help