This is a fun treasure game written in the Ruby programming language.

Getting Started

  1. Install gem:

    $ gem install treasure_adventure_game
    
  2. At the command prompt:

    $ treasure_game
    

Playing the game

Enter a number for the number of game rounds you'd like to play. Enter quit to exit and see a listing of the high scores. The program will also write output to a high_scores.txt file.

Upload your own players

You have the option to load your own players into the game by passing a csv file as an argument:

$ treasure_game my_players.csv

Your csv file should be formatted with player names and initial health numbers. For example:

    Bob,100
    George,60
    Sally,125