I’ve played dopewars on Slack

Bertrand Fan
Oct 4, 2016 · 2 min read

I’m not sure when the first time I played dopewars was, if it was given to me on a floppy disk or I had played it as a door game on a BBS, but it has existed in one form or another for every technological milestone in my life.

Image for post
Image for post
Drug Wars (title screen) on MS-DOS (1984)
Image for post
Image for post
Drug Wars on MS-DOS (1984)

I’ve played dopewars on a graphing calculator.

Image for post
Image for post
DrugWars on a HP48 GX.
Image for post
Image for post
Dopewars on a HP40.
Image for post
Image for post
Drug Wars on a TI-82

I’ve played dopewars on a Palm Pilot.

Image for post
Image for post
DopeWars for Palm (1999)

I’ve played dopewars on an iPhone.

Image for post
Image for post
iDope: dopewars for iPhone (2008)

But the version that I’ve played the most is the dopewars that runs on Unix and Windows, written and open-sourced by Ben Webb.

Image for post
Image for post
dopewars v1.5.12 running on OS X

It’s my favorite dopewars implementation. The UI brings back memories of glowing CRT screens and Model M keyboards. Every aspect is customizable, from the prices of drugs to the things that are said in the subway. I often play it in single-player mode, but it supports networked play through a client/server implementation.

I was digging around in the documentation that describes the protocol and started thinking, if I could write a client for dopewars that acted as a proxy to Slack, I could play dopewars on Slack. So I did, mostly so that I could say:

I’ve played dopewars on Slack.

Image for post
Image for post
dopewars bot running on Slack (2016)

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store