Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby port of the Dopewars / Drugwars game

tree: 2c8e592225

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 NOTES.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 dopewars.gemspec
Octocat-spinner-32 text.yml

Dopewars v.0.2.2

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


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.

How to play

For linux/mac

$ ruby 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 1 through 5 or so. You can type ? for help during the game.


$ git clone
$ cd dopewars
$ bundle install --without experimental


  • Ruby 1.9+

  • Rubygems 1.5+

  • bundler gem (gem install bundler)

Current Issues

  • All drugs are always available

  • Battles with DEA agents are skewed and you're most likely to lose :(

  • No way to exit game mid way

  • Fill in help menu

  • Allow help to be accessed any time


  • Allow player to use drugs as “buffs” when fighting

  • Allow player to train to gain speed, accuracy, evasion

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

  • Allow purchasing of weapons, and bags (maybe other items)

  • Fluctuating interest rates depending on which city you start in

  • Fight more than 1 agent at a time

Something went wrong with that request. Please try again.