Skip to content

A Python implementation of Magic The Gathering with a focus on AI implementation

Notifications You must be signed in to change notification settings

gcoter/magic-the-gathering-python

Repository files navigation

magic-the-gathering-python

A Python implementation of Magic The Gathering.

Requirements

It must fulfill the following requirements:

  • It must be easy to implement a new AI (by subclassing)
  • It should be able to simulate thousands games between two AIs
  • It should have a GUI in order for one human to play against an AI
  • The game state must be easy to save and recover (so that datasets of simulated plays can be created)
  • An AI must be able to simulate a tree of possible upcoming actions (this is necessary for planning and finding the best action)
  • Cards should be easy to import from public databases (such as https://mtgjson.com/downloads/all-files/)
  • It must be easy to filter cards to create decks with given constraints

About

A Python implementation of Magic The Gathering with a focus on AI implementation

Resources

Stars

Watchers

Forks

Packages

No packages published