What should trigger the end of the game? Defeating the boss? And are showing the credits after the player completes the game?