| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

pyMTG

Page history last edited by Roy Tang 13 years, 5 months ago

PyMTG

From Roytang.Net

Jump to: navigation, search

pyMTG is a Python-based Magic: The Gathering game engine. It is currently in the initial stages of development.

Project started middle of August 2007.

The next milestone is version 0.1, target for release at the end of 2007.

Target feature list for v0.1:

1. Provide a console gui for playing MTG against a computer AI

I currently have no interest in writing GUI stuff, only logic, so the bare-bones console will be the first release.

2. Provide a working game engine, supporting only basic lands and vanilla creatures

Really the minimum to get a game working. With this I already need to handle: playing lands, playing creatures, turn order, attack phases, passing priority, dealing damage, drawing cards, etc. I assume I will become familiar with Grizzly Bears :D

3. Provide a basic, extensible AI interface

The idea for #3 is that I can provide a basic interface and maybe implement some simple AIs, namely Goldfish (never does anything) and AlwaysAttacks (plays any creatures it can and always attacks), and other people can contribute more complicated AIs.

pyMTG design philosophy: Everything must be easily extensible. Ideally I can implement the base source and other people can extend it by adding new cards to data files, or even implement their own python classes.

Comments (0)

You don't have permission to comment on this page.