Python fun!


About a week or so ago, I decided to start learning the python programming language. After writing a few short test programs to familiarize myself with the language, I decided to start on a larger project - a game!

I have now completed the fighting engine of a simple text-based, turn-based fighting game. There isn't much to it right now, but you still can pick a race (human, elf, or dwarf), and a class (mage or warrior). There are weapon-based and magic-based attacks, and more interesting features will be added later. However, I wanted to go ahead and post the relatively-complete fighting engine. Download your copy from either www.rabidcentipede.com/python/AlphaGame.zip or www.rabidcentipede.com/python/AlphaGame.tar.gz

This will give you an archive of the source python files. To run it, open your favorite python environment and run "Main.py". If you don't have Python, grab it from http://python.org/

I plan to add more to the game outside of the fighting engine, such as various towns, items, quests, etc.

Have fun!

 

What did you think of this article?




Trackbacks
  • Sunday, March 30, 2008 4:41 PM The RabidCentipede collection of Stuff wrote:

    Okay, I have now released the next version of my python experiment! (For the original and information about how to run it, check HERE.)

    The new version, entitled BetaGame, can be downloaded from either http://www.rabidcentipede.com/python/BetaGame.zip or http://www.rabidcentipede.com/python/BetaGame.tar.gz

    This time, run "Start.py" to get the program going, and then have fun! As you can tell, there is now a simple interface in the form of dialog boxes and prompts. Also, the combat system is slightly more advanced, and you will sometimes receive potions at the end of a battle. In addition, I have fixed a few small bugs found ...
Comments
  • No comments exist for this entry.
Leave a comment

Submitted comments will be subject to moderation before being displayed.

 Enter the above security code (required)

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.