js/pacman.js
// If lose a life, wait the game start
If lose a life, wait the game start
If lose a life wait the game start
function loseLife() {        
                    setState(WAITING);
                    user.loseLife();
                    if (user.getLives() > 0) {
                        startLevel();
                    }
                }
function loseLife ( ) { setState ( WAITING ) ; user . loseLife ( ) ; if ( user . getLives ( ) > 0 ) { startLevel ( ) ; } }
If lose a life, wait the game start
If lose a life wait the game start