Ruby port of the Dopewars / Drugwars game
Ruby
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
bin adding in some windows support May 31, 2012
lib fixed battle system inifinite loop Jun 10, 2012
.gitignore fixing bugs preventing play in new gem format Aug 3, 2011
.rvmrc fixed a loading bug. bumped patch level May 31, 2012
Gemfile added some small UI changes. fixed drug remove bug. working towards r… Jun 2, 2012
Gemfile.lock added some small UI changes. fixed drug remove bug. working towards r… Jun 2, 2012
NOTES.txt fixed bugs with new battle system. player and agent can now duel Jun 8, 2012
README.rdoc updated readme to reflect latest changes Jun 10, 2012
Rakefile converting app to a gem Aug 3, 2011
VERSION
bags.yml added the bag item. restructured weapons Jun 9, 2012
dopewars.gemspec converting app to a gem Aug 3, 2011
text.yml added the bag item. restructured weapons Jun 9, 2012
weapons.yml added the bag item. restructured weapons Jun 9, 2012

README.rdoc

Dopewars v.1.0

This is a Ruby port of the original dopewars/drugwars game.

Overview

You are a drug dealer. Your goal is to buy and sell drugs and make money without being caught. You have 30 days to fly around the world making your purchases and selling your product.

This is a single player game. As the player, your goal is to beat your previous score. Your score is the total amount you're worth at the end of the game. You lose only if you get caught, or if you owe any money at the end of the game.

Simple economy. Drug value is, to some degree, determined randomly by the day.

You can train at the gym to gain levels. Gaining levels will increase your speed, strength, and hit points. You can also purchase strong weapons to kill agents faster. Killing an agent has a bonus reward.

How to play

Open your terminal/command line, and `cd` into the directory where you downloaded the game. For linux/mac

$ ruby bin/dopewars

For windows

$ ruby bin\dopewars

You will be walked through during gameplay. Type “S” to start, or “Q” to quit. Options are normally numbers. You can type ? for help during the game.

Installing

$ git clone git@github.com:jwoertink/dopewars.git
$ cd dopewars
$ bundle install --without experimental

Requirements

  • Ruby 1.9+

  • Rubygems 1.5+

  • bundler gem (gem install bundler)

Current Issues

  • All drugs are always available

  • No way to exit game mid way

  • Fill in help menu

  • Allow help to be accessed any time

  • The bag isn't fully in place

  • Item purchases aren't restricted

  • The end of game calculation isn't complete

  • Limit the amount of drugs that can be carried per bag size

  • Agents don't gain levels.

Upgrades

  • Fluctuating interest rates depending on which city you start in

  • Fight more than 1 agent at a time

  • Create GUI using ncurses

  • Allow each drug to have a different effect during battle

  • Push scores to twitter?

  • Make a single package installer for win/mac

Contributing

  • Fork the repository

  • Clone your newly forked repo

  • Make changes

  • Push changes to your repo

  • Do pull request