Basic coinche game in scala