Skip to content

Auto-Gaming Hack for Lyto Different Color Game

License

Notifications You must be signed in to change notification settings

NisonLi/LytoColorHack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

LytoColorHack

LytoColorHack is a simple project for fun.

Use it to automatically play Lyto Different Color Game to beat your pitty friends. :D

Demostration

Auto-Gaming Hack for Lyto Different Color Game

Click the above thumbnail to see demo video on Youtube.

Test Environment

This code was developed and tested on the following environment.

  • Windows 10 :: 64-bit
  • Python 3.6.1 :: Anaconda 4.4.0 (64-bit)

Dependencies

Python package required for this project can be easily installed via pip:

pip install numpy
pip install opencv-python
pip install pillow 
pip install pyautogui

Usage

Open the game and place the browser on the left to fill the left half screen as the demo video shows.

python LytoColorHack.py

Execute the code, a window will pop up and show the target region on screen and the circles it detected.

Once the game is started, press s to tell the program the game had started and begin auto-gaming.

Methodology

  • Take a screenshot of the left half screen.
  • Indentify the circles in the screenshot using Hough in OpenCV.
  • Post-process circles:
    1. Boundary check
    2. Non-max suppression
  • Identify the circle with the most different color from the others.
  • If auto-gaming is on, simulate mouse to click the circle we identified.
  • Display the result on a separate window.

Credit

This project partially references this repo as a starting point.

About

Auto-Gaming Hack for Lyto Different Color Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%