end result

how do I end the game?

you have a level that says good job or something and people click off or see your editing

Yeah, just take inspiration from other games and just tell the player they won, or roll credits. As long as you have a somewhat satisfying ending, then you’re good.