tic tac toe game using Scala and JavaFX