How do I make it so when there is one person left, the game ends?

Maybe this will help: