diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 4 insertions, 25 deletions
@@ -1,8 +1,8 @@ | |||
1 | # LumberJack bot [![CircleCI](https://circleci.com/gh/clarkzjw/LumberJack.svg?style=svg)](https://circleci.com/gh/clarkzjw/LumberJack) [![](https://images.microbadger.com/badges/version/clarkzjw/lumberjack.svg)](https://microbadger.com/images/clarkzjw/lumberjack "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/clarkzjw/lumberjack.svg)](https://microbadger.com/images/clarkzjw/lumberjack "Get your own image badge on microbadger.com") | 1 | # LumberJack bot |
2 | 2 | ||
3 | Current Top Score: 408 | 3 | Current Top Score: 1068 |
4 | 4 | ||
5 | ![image](https://cloud.githubusercontent.com/assets/2663319/20305522/de7b327e-ab70-11e6-898e-3f286a0b567a.png) | 5 | ![image](https://user-images.githubusercontent.com/2663319/34491418-4e345ac6-f01e-11e7-99af-88e8e8a1e2ec.png) |
6 | 6 | ||
7 | ## Usage | 7 | ## Usage |
8 | 8 | ||
@@ -10,25 +10,4 @@ Current Top Score: 408 | |||
10 | python3 bot.py | 10 | python3 bot.py |
11 | ``` | 11 | ``` |
12 | 12 | ||
13 | Make sure you have PyAutoGUI installed. | 13 | Tested on macOS 10.12.6 with screen resolution 1680*1050 (not HiDPI) on Safari. |
14 | |||
15 | If you use Debian based Linux, you can install PyAutoGUI by | ||
16 | |||
17 | ```bash | ||
18 | sudo apt-get install scrot python3-tk python3 python3-dev python3-pip | ||
19 | sudo pip3 install image | ||
20 | sudo pip3 install python3-xlib | ||
21 | sudo pip3 install pyautogui | ||
22 | ``` | ||
23 | |||
24 | ## The Docker way | ||
25 | |||
26 | Although the Docker image of this bot cannot work correctly, you can give it a try. Remember to read the comments on top of Dockerfile | ||
27 | |||
28 | ```bash | ||
29 | docker run -it \ | ||
30 | -e DISPLAY=$DISPLAY \ | ||
31 | -v /tmp/.X11-unix:/tmp/.X11-unix \ | ||
32 | clarkzjw/lumberjack | ||
33 | ``` | ||
34 | |||