Socket
Book a DemoInstallSign in
Socket

demo_game

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demo_game

1.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Very simple ruby application that prompts you for the number of rounds you want to play. Created following the tutorials from pragmaticstudio. Just enter a number and the game players will randomly find treasures and gain/lose hit points. You can play as many times as you want until you enter exit/quit. You can also include your own csv files of any players you want to use. The format is 'player_name, health' ex: player1, 100 player2, 40 player3, 50

To use: install the gem gem install DemoGame Run it from the command line with cmd 'demo_game'

FAQs

Package last updated on 19 Dec 2014

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.