I need help creating a mario like enemy ai for the roll a ball game (714759)

hi if someone could help me that would be grate I’m trying to create an enemy for the roll a ball game that is in the unity tutorials and I would like the enemy to bounce of the 2 walls going back and forth and if you touch it it will restart the game but I have no idea how to so If I could have some help that would be grate

ps I’m a total biginer

thx

oh yea and I’m not sure if this is the right forum for this sorry or any misunderstandings