My Python Projects
My first experiences with programming were on an Eagle IV DOS based system programming in BASIC in the mid 1980’s. Since then I have been encouraged by my programming brother to look at Pascal, LISP, and Modula-2 for programming experiences, and finally he pointed my towards Python. I’ve been addicted ever since.
Inventory Management System
I write fiction. I try to sell my fiction. I needed a way to a)keep track of what I've written, b)keep track of where I've sent each stories, and c)do something related to writing but not writing itself, because artists like distractions.
DieRoller
Writing a combat simulator based on many years of RPGs, I found it useful to write this program that rolls dice automatically using the same representation as the game books do.
Combat
This combat system can be quickly customized to handle combat simulations for role playing games. It is one of the core modules for my ever evolving Play By E-Mail system.
StackLang
Inspiried by Robowar, StackLang is a stack based language that can be used as a calculator and can even be programmed. It is used as the decision maker for the Play By E-Mail system I’m working on.
Slugfest is a tutorial that shows how I incorporated StackLang and Combat to make decision-making combatants beat eachother up (in simulation).
Fraction
I was working on a Polynomial Root Solver and got very tired of looking at Pythod spit out long decimal representations of numbers, thus messing up my formatted text columns. I wanted to look at them as fractions, so instead. I did a search through the Vaults of Parnassus and found a fraction.py module by Mike Hostetler. One thing led to another as I updated his code and I ended up writing a fairly robust fraction class that did the tricks I needed plus a lot more.
Download fraction.py here
Vector
I needed a Vector class to help with some projects that take Poser figures and translates them into a format for POV-Ray. Of course I did a lot more than I needed to.
Download vector.py here
WebMenu
When I was handed the PTTW site I realized that large websites that are not database driven need a good menu system. Being unemployed I wrote WebMenu. I’ve rewritten it and now it’s at version 1.5.
Web Content Management System
I’ve tried to write large websites. My POV-RayCyclopedia is an example of those early attempts to write a large number of pages with a constant design. Of course changing the design meant a lot of reformatting, and I have never seen a web page builder or a web site manager that I liked, so I started to experiment with Python and XML. Many early attempts failed and finally I read Mark Pilgrim’s Dive Into Python. That book opened the doors for my XML programming and I managed to build a generalized Web Content Management System. I used the first version to rebuild the PTTW site and then turned to my own site. Of cource I haven’t finished redoing the Cyclopedia yet.
Playing Cards
I have a page on finding the odds for various hands in Poker and some of the responses I’ve gotten have led me to experiment with Python on variations of the game, so I started to work on a Playing Card class in Python. This is unfinished and is closer to a development document than anything else.
Play By Mail
My mind was wandering back to the days when I wished I had played StarWeb. Feeling nostalgiac for days I never knew I wondered if I could write a PBEM game. I started with Swarming With Dwarves and then generalized it to this project, which is also unfinished.
Swarming With Dwarfs
This page is a users manual for the game. It’s one of my rotating projects and I will get back to it someday.