I'm sure you understand I don't have time to make your game for you.
If you have any questions about my example, feel free to ask, but you will have to add it to your game yourself.
If you don't understand how it works, you should follow tutorials, look at examples or read manual entries.