Chinese Chess in Scala