ruby port of hangmangame