Chess in Scala