Go to file
JerryXiao e0e92ae529
u
2021-12-15 17:31:19 +08:00
README.md Update README.md 2018-05-10 23:34:35 +02:00
branch.png fix shit code (rewrite) 2021-02-26 21:18:55 +08:00
how_to_create_branch_png.png add 2 pngs 2021-02-26 22:36:28 +08:00
lumberjackBot.py u 2021-12-15 17:31:19 +08:00
requirements.txt add req.txt 2021-02-26 22:47:23 +08:00
window_size.png add 2 pngs 2021-02-26 22:36:28 +08:00

README.md

LumberJack Telegram Bot

Bot made for LumberJack telegram game. It recognises a couple of key pixels on your screen and makes lumberjack dodge tree's branches. pyautogui and Pillow libraries is needed!

How it works

The script recognises LumberJack's game window and clicks on play button. Uses tree's position to locate branches and dodge them.

alt tag

Recognises this area as start/restart button.

alt tag

Checks if indicated pixel is the same color as branch's. If true, lumberjack moves right, else left.

Score record

Speed (sec) Score (avg) V1.1 Score (avg) V1.2 Score V1.3 (No longer depends on speed) Score V1.4
0.15 182 254 358 470
0.12 186 247 368 482
0.11 129 314 370 480
0.1 29 296 366 480
0.099 128 334 366 484
0.08 18 354 372 460
0.075 - 87 358 460
0.07 7 93 374 472

alt tag


Usage example

Resize and place your telegram window as the image. Open the script with python IDLE, place next to telegram and run it (F5). Don't place IDLE's window above telegram's.

alt tag