Scala Version of the Famous Game