rc9000 / modoscrape

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modoscrape aka Twitch Plays MTGO!

Some very flaky computer vision made love to an IRC bot.

This is a just for fun project and not intended for public use, but feel free to do with it what you want.

MTGO etc. are trademarks of WOTC.

requirements

Most of this stuff is painful to install and unable to be put into a nice requirements.txt

How To Play

You can vote for the next game action by just typing in the chat, as soon as the bot prompts for it.

Objects

Some cards and buttons are automatically labeled, e.g. cards as cnumber or buttons as bname. You can vote to click such an object by typing e.g.

click c4

Besides click, there is also a go command that only moves the center of the cursor to the location.

Cursor

To click something without a direct label, the cross-shaped cursor can be used. The middle dot is called X, and the points in up, right, down, left direction can be called with u4, d2 and so on. For the dots without a text next to it, just count from the nearest labeled dot. Some examples.

click x
go d4
click r8

F-Keys

Using F-keys is usually the best way to operate the client. Supported commands:

F2
F4
F6

Other commands

If the bot thinks there is an action to be taken, but it really isn't our turn to do something, vote pass to skip a cycle and get the next update from the mtgo client

Sorely missing

concede
gg, ghlf, salt chat commands

About

License:GNU General Public License v3.0


Languages

Language:Python 96.4%Language:AutoIt 3.4%Language:Batchfile 0.2%