/Treasure-Hunt-Game

February 2017 monthly challenge

Primary LanguageRuby

Treasure hunt game.

The game is a CLI application written in Ruby (not UI thingies for instance)

There is a 10x10 map of integers. In a random position there is the number 1 (this is the treasure).

The user should enter coordinates where they think the treasure is until they find it, if the number is 1 it 'Success'.

If the treasure is one position far, it display "Hot", if the treasure is two position far, it display "Warm", if is further it display "Cold".

How to execute ruby my_cli.rb