If you are playing an offline snake game, the game won’t end until the snake dies. However, if you are using a multi-player platform for a snake game, it provides a timer in which you have to kill other snakes in order to win.