|
The main problem is getting information from the game in a format that can be parsed by a program. You essentially have two approaches; try to capture the information as it appears to the user, or try to get the information required by looking at the program's internal state (or, alternatively, its network traffic).
Neither approach seems easy. Magic the Gathering Online appears to use a custom GUI system (not uncommon in computer games), and from the screenshots I've seen it looks as if you can't select the text on a card image. Thus, in order to get the information from the game you'd have to use optical character recognition (OCR) and some complex graphical routines to discern the game's state from the images on screen. Trying to infer the same information from internal program state or network traffic seems even more difficult.
I'm not saying that it's impossible, but it may be far more difficult than you've anticipated.
|