How do i create a game?

i know how to create a thing to shoot . but how i create a thing that , when the bullet hit it , it will die and add your score ?