← Archive
// Archive

Python game bot

A bot that plays the puzzle game Hex Blitz with computer vision. It still holds the number one spot on the leaderboard.

Pythoncomputer visionautomation

To learn more about computer vision and automation, I made a bot that plays Hex Blitz, an online puzzle game where you fit all the pieces into the board as fast as you can.

The bot uses computer vision to find the pieces it’s given and the empty spaces on the board, and an algorithm works out where each piece fits. Then it moves the mouse and places them.

A later update changed the game’s layout, so the bot doesn’t work anymore. But it still holds the number one spot on the leaderboard 😁

The bot playing Hex BlitzIt finds the pieces and the empty spaces, then places them on its own.