Skip to content

EnriqueMoran/MathBattle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

MathBattle Telegram Bot

Bot made for MathBattle telegram game. This script recognises the operation shown on screen and checks whether the given result is correct or not. pyautogui, opencv and numpy libraries are needed!

alt tag

How it works

The script recognises each operand, the operation symbol and result parts, after that, will recognise each digit in order to form the whole number and check if the result is correct. Recognition is made by opencv2 template matching.

alt tag

Usage

Leave the play button uncovered and run the script. It will automatically start and stop once the retry button appears (dont cover the button).

alt tag

Changelog

  • version 0.1.5: Multiple number recognition by template matching partially implemented, sometimes the script will not recognise them correctly.

Releases

No releases published

Packages

No packages published

Languages