Right Colour Automation Bot
Back to Projects

Right Colour Automation Bot

A Python + OpenCV bot that plays the game Right Colour by matching tiles using computer vision and simulating swipe gestures.

Role

Computer Vision Developer

Year

2023

Stack
Python
OpenCV
Computer Vision
Automation
Links

Private

Overview

This project automates gameplay for Right Colour, a reaction game where you must match the prompt’s colour with one of the available tiles. Correct matches score points, while incorrect tiles need to be swiped away to reveal new ones. The bot reads the prompt, detects tile colours, and performs the right action automatically.

Right Colour bot running

Colour Detection & Gesture Automation

The bot captures the game region and uses OpenCV colour detection (HSV space) to classify the prompt and tiles, selecting the tile that most closely matches the target colour. It then simulates a click on the correct tile or a swipe to clear incorrect ones. The loop runs until stopped, with a manual escape by holding the Q key.