To end your game, all you need to do is execute a Game End node. Depending on the gameplay of your game, you might want to end it once a timer reaches 0, or once a player collects all the available score, or even by reaching a certain physical point in the game.

For more information, please feel free to check out our in-game tutorial on the topic. If you need further help, please let us know!