Something like this: At the beginning LIVES=3 then if they answer wrong, LIVES=LIVES-1, then a IF LIVES<1 then GOTO @GAMEOVER