From 60eee37061bffc3ce570605d6d4e2124044a974f Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Wed, 3 Jan 2018 13:06:17 +0800 Subject: + add README --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49c1594..985a1ae 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,28 @@ Current Top Score: 1068 ![image](https://user-images.githubusercontent.com/2663319/34491418-4e345ac6-f01e-11e7-99af-88e8e8a1e2ec.png) +## Dependencies + ++ [mss](https://github.com/BoboTiG/python-mss) + +An ultra fast cross-platform multiple screenshots module in pure Python using ctypes. + ++ [numpy](https://github.com/numpy/numpy) + +NumPy is the fundamental package needed for scientific computing with Python. + ++ [PyAutoGUI](https://github.com/asweigart/pyautogui) + +A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. + ++ [pynput](https://github.com/moses-palmer/pynput) + +Sends virtual input commands (Much more faster than [PyAutoGUI](https://github.com/asweigart/pyautogui) and [keyboard](https://github.com/boppreh/keyboard)) + ## Usage -```python +```bash +pip install -r requirements.txt python3 bot.py ``` @@ -14,7 +33,7 @@ Tested on macOS 10.12.6 with screen resolution 1680*1050 (not HiDPI) on Safari. ## Videos -![60 fps](https://www.youtube.com/watch?v=TCPrj4mzZ6s) +[60 fps](https://www.youtube.com/watch?v=TCPrj4mzZ6s) -![240 fps slow motion](https://www.youtube.com/watch?v=uXTSveJCdH8) +[240 fps slow motion](https://www.youtube.com/watch?v=uXTSveJCdH8) -- cgit v1.2.3