harupy / python-plays-make10

A python script to play Make10 in Brain Wars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python plays Make10

A python script to play Make10 in Brain Wars

Game Rule

The rule of this game is quite simple. Just tap the cards to make a 10.

How this works

  1. Apply contour detection and crop out the portion of each card which contains number
  2. Pass the cropped images to a KNN-classifier and recognize the numbers on each card
  3. Find a combination of cards which adds up to 10 and tap them

Requirements

  • numpy
  • sklearn
  • opencv
  • mms
  • pyautogui

Demo

About

A python script to play Make10 in Brain Wars


Languages

Language:Python 100.0%