We can use this for card definition: https://github.com/MagicTheGathering/mtg-sdk-python Will have to extend for in game actions. Not sure if this works well offline (downloaded cards)