dicegame in ruby