Scala game framework