How to create ally AI

hi i wanted to create some form of reward within the game. help me with this please? or if you know of a text tutorial send me?

Hi,

What type of reward do you mean? Like an item that the player can get?

hi thank yes like extra life or prop that you can earn and use right away .
saw in a game where entering so many times won objects to use in the game of this mascot clothes prop elements related to life .

JASON WANDERER thanks for the links