JP's Internal Medicine Page

I'm an internal medicine doctor working as a nocturnist. Sometimes I like to make things with python but most of my life is medicine and raising my young family. I have many posts about teaching my toddler to read at a younger age than is probably wise.

Predict Survival in Advanced Cancer

Other Things I've Made:
ECG Viewer Bobcat Mountain Text Adventure Demo

Medical Blogs I Like:
Dr. Smith's ECG Blog ECG Maven The Number Needed to Treat

Blog Postings:

Friday, August 14, 2015

Text Adventure Demo

I created a small demo "game" in the text adventure style.  Right now it's not really that interesting but you can add/edit rooms by changing the rooms3.txt file (things are in a nested dictionary format, then the program uses that information to create objects with those characteristics).  There's NPCs (although you can't fight them yet), a store where you can buy and sell things, and a couple puzzles.

I have three plans for this.  Immediately, I am going to be making a small adventure (loosely based on a biography I just read on Alexander the Great).  In the future I hope to use it to make some games for my son as he learns to read and type.  Also, I thought it might be nice to team up with some of my more creative friends to try and collaborate on something, but we'll see if I can rope anyone in.

For the current demo you will need python, version 2 NOT 3 to run this.  I didn't make it into an .exe file because it's not really a finished project and I think only people who are interested in programming will   Make sure the rooms3.txt file is in the same folder as epic3.py when you run epic3.py.  Here it is:

https://www.dropbox.com/sh/ylr93cccp3ccjuk/AAAvV1pn5QpmY2SUtf6RXX-Za?dl=0

In other news, I found my ECG files from residency that have a lot of interesting cases so I will scan those in sometime and update the ECG Viewer program.  Maybe I'll make some nicer graphics for it.

Finally, I started thinking about a "Stay at Home Dad Helper" website that would be pretty easy to make but have suggestions of what to do if you are running out of ideas to entertain your wee ones.

Any questions, comments, critiques? I'd love to hear from people at jpmax7 at gmail.com