if (CurrentScore >= WinningScore):
EndGame()
ShowVictoryScreen()
Verse Library
verse
02 Fragment
Evaluates a score threshold to trigger game-ending actions and display a victory screen.
verse-library/verse-layout-and-structure/02-fragment.verse