Dope Trader is a turn-based commodity trading game. You play the role of a drug dealer in debt. You have one month to trade drugs and repay your debt. One day passes when you travel to a new location. Each day prices fluctuate due to market demand and random events.

The game is inspired by the 1984 classic by John Dell, "Drug Wars".

Source Code License

Copyright 2021 Wesley Werner

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Acknowledgements

Many thanks to these people for sharing their work:

Cannabis Leaf Image by kotik, Licensed CC0 1.0 Public Domain (Changes: scaled and desaturated)
* Pistol Sound by Q009, Licensed CC-BY-SA 3.0
* Sell / Buy Sound by artisticdude, Licensed CC-BY-SA 3.0
* Grunt Sound by n3b, Licensed CC-BY 3.0
* Cash Register Sound by kiddpark, Licensed CC-BY 3.0
* Running Sound by mieki256, Licensed CC0 1.0 Public Domain (Changes: Increased tempo to shorten audio duration)
* Subway Sound by 16gpizap, Licensed CC-BY 3.0 (Changes: Trimmed with fade-in/out to shorten audio duration)
* Applause Sound by Iwan Gabovitch, Licensed CC-BY 3.0

History

July 2026

new features

* visit the doctor after thug encounters

* new random events

changes

* lend drugs only after day 20

* updated event messages

* lower gun & coat offer chances

* remove font, use web-safe serif

bug fixes

* use known good rng parameters

* animated counters did not always trigger

* mistakenly showed messages where trenchcoat hasnt enough free

* duplicate high score records

* skip random event if losing an unowned drug

September 2024

* first release

Updated 19 days ago
StatusIn development
PlatformsHTML5
AuthorWesley
GenreSimulation
TagsRemake, Retro
Average sessionA few minutes
LanguagesEnglish
InputsMouse, Touchscreen
ContentNo generative AI was used

Comments

Log in with itch.io to leave a comment.

Hi Wesley. Remote fonts is an optional feature that isn't available in some cases. Game won't start if it can't load the font.

downloadable font: download failed (font-family: "Bodoniflf" style:normal weight:400 stretch:100 src index:0): status=2147500036 source: https://engrams.dev/static/dopetrader/font/BodoniFLF-Bold.woff2
Uncaught (in promise) DOMException: A network error occurred. dope.js:2433:30
    main https://engrams.dev/static/dopetrader/script/dope.js:2433
    AsyncFunctionThrow self-hosted:804
    (Async: async)
    onLoad https://engrams.dev/static/dopetrader/script/spam.js:30
    <anonymous> https://engrams.dev/static/dopetrader/script/dope.js:2602</anonymous>
    <anonymous> https://engrams.dev/static/dopetrader/script/dope.js:2604</anonymous>
(+1)

Wow I’m late to the party, apologies! I replaced the font with a web-safe alternative, thanks for reporting this Sergey.