Unbeatable Tic Tac Toe in Scala using Play Framework