Clone of the SM game on ruby