lumberjackBot/README.md

45 lines
1.9 KiB
Markdown
Raw Normal View History

2016-12-07 01:36:06 +08:00
# LumberJack Telegram Bot
2018-05-11 05:34:35 +08:00
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!**
2016-12-07 01:36:06 +08:00
## How it works
2016-12-14 04:31:18 +08:00
The script recognises LumberJack's game window and clicks on play button. Uses tree's position to locate branches and dodge them.
2016-12-07 01:36:06 +08:00
2016-12-08 23:42:12 +08:00
![alt tag](http://i.imgur.com/H7v3zwo.png)
2016-12-07 01:36:06 +08:00
_Recognises this area as start/restart button._
2016-12-14 04:31:18 +08:00
2016-12-08 23:42:12 +08:00
![alt tag](http://i.imgur.com/hKTuuio.png)
2016-12-07 01:36:06 +08:00
2016-12-08 23:54:55 +08:00
_Checks if indicated pixel is the same color as branch's. If true, lumberjack moves right, else left._
2016-12-07 01:36:06 +08:00
## Score record
2016-12-07 14:04:02 +08:00
2016-12-16 00:20:39 +08:00
| 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 |
2016-12-12 23:43:36 +08:00
<br />
2016-12-16 00:20:39 +08:00
![alt tag](http://i.imgur.com/yYEl4Nm.png)
2016-12-07 01:36:06 +08:00
<br />
<br />
<br />
## Usage example
2016-12-08 23:42:12 +08:00
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.
2016-12-07 01:36:06 +08:00
2016-12-08 23:42:12 +08:00
![alt tag](http://i.imgur.com/tiV3Eze.png)