merge resetBoard function into startGame function