This is an simple project with Python and Opencv for auto-gaming on Lyto color game. The project is inspired by kketernality and OuYangMinOa
Reach level 224 in the Demo Video
Requirements
- Python 3.7
Use the following commands to install.
pip install numpy
pip install opencv-python
pip install pillow
pip install pyautogui
Run the following command. The program window will pop out.
python LytoColorHack.py
- Let the browser stay at the middle of the screen.
- Adjust the size of browser until the window can catch all of the circles in game.
- Press
s
to start auto-gaming. - Press
esc
to stop auto-gaming. - If the answer cannot detected correctly, try modify the parameters
param1
andparam2
incv2.HoughCircles
.