Skip to content

A solver for the mobile game typeshift using OpenCV, Tesseract and ADB

Notifications You must be signed in to change notification settings

julius383/typeshift-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typeshift solver

A solver for the mobile game Typeshift using OpenCV, Tesseract and ADB

Demo

Typeshift solver demo

Requirements

You need to have Android Debugging Bridge installed along with any relevant drivers for your phone. You also need to have Python installed along with the packages:

  • opencv
  • pytesseract
  • imutils
  • kanren (entirely optional if you want to use the other slow solver)

Running

  1. Ensure that your android phone is connected and that USB debugging is enabled.
  2. Run adb devices to start the daemon and ensure your device is listed.
  3. Start typeshift on your phone and open up a puzzle.
  4. Run python solve.py and watch the magic happen.

Caveats

  • Sometimes tesseract does not identify the character correctly e.g indetifying '0' instead of 'O' which messes with the whole process
  • The solver relies on you supplying a sufficiently large word list in my case I was able to use the one at /usr/share/dict/words which comes from installing the words package on Arch Linux. The file can be found here
  • The solver is only for the puzzles that involve aligning characters in a column to form a word.
  • Instead of entering a certain amount of words it should instead keep entering words until the puzzle is solved.

About

A solver for the mobile game typeshift using OpenCV, Tesseract and ADB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages