/Einsteins-riddle

Solve Einstein’s Riddle with Ruby just for fun

Primary LanguageRuby

Einsteins-riddle

Solve Einstein’s Riddle with Ruby just for fun

the output:

+--------------+-----------+-------+-----------+--------+-------------+
| Color:       | yellow    | blue  | red       | green  | white       |
+--------------+-----------+-------+-----------+--------+-------------+
| Nationality: | norwegian | dane  | brit      | german | swede       |
+--------------+-----------+-------+-----------+--------+-------------+
| Pet:         | cat       | horse | bird      | fish   | dog         |
+--------------+-----------+-------+-----------+--------+-------------+
| Drink:       | water     | tea   | milk      | coffee | beer        |
+--------------+-----------+-------+-----------+--------+-------------+
| Cigar:       | dunhill   | blend | pall mall | prince | blue master |
+--------------+-----------+-------+-----------+--------+-------------+
Time: 0.030265218sec