Synchronized resetGame