How to create mini games?

Wherein the character has three lives and everytime he make wrong choices, one life will be subtracted :hugs: Like a fighting game.

Thank you so much for the recommendation!