Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

treasure_adventure_game

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

treasure_adventure_game

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 02 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc