Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 903 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 903 Bytes

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