minor refactoring
Cookies and board reset at the end of a game so another can be played immediately