Quantum Tic-Tac-Toe in Scala