lumberjackBot/README.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2016-12-07 01:36:06 +08:00
# LumberJack Telegram Bot
Simple bot made for LumberJack telegram game. It recognises a couple of key pixels on your screen and makes lumberjack dodge tree's branches. **pyautogui library is needed!**
## How it works
The script recognises LumberJack's game window and clicks on play button. Uses player's position to locate branches and dodge them.
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._
<br />
<br />
<br />
<br />
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-08 23:42:12 +08:00
| Speed (sec) | Score (avg) |
| ------------ | ----------- |
| 0.15 | 182 |
| 0.12 | 186 |
| 0.11 | 129 |
| 0.1 | 29 |
| 0.099 | 128 |
| 0.08 | 18 |
| 0.07 | 7 |
2016-12-07 01:36:06 +08:00
<br />
<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)