Erase the contents and prepare for a game

Add function declaration