Skip to content

rdinit/mathbattle_bot

Repository files navigation

mathbattlebot

Bot playing mathbattle game from Telegram messenger

  • Installing:

    run in command line

    pip3 install -r requirements.txt
    
  • Running: Example code

    brain = Brain('model/v3',
                    (740, 180, 1420, 460),  # grab screen (x,y,x,y)
                    90,  # letter height (needed for correct resize)
                    (1070, 730),  # positin of restart button, this pixel should be green
                    (930, 740),  # left button coordinates
                    (1220, 740),  # right button coordinates
                    (750, 510, 650)  # progressbar (x, y, length)
                )
    brain.think(chck=True, loop_id=1)
    

    Config parameters personally for your screen (this parameters are fine for 1440x900 resolution)

About

Bot playing "mathbattle" game from Telegram messenger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published