add life count, and analyzing the game is over
with bug : cat doesn't be removed from the queue