Moved functions from TTT-specific class to general board class