Updated the template, and implemented a game over message