Some weeks ago I got really annoyed playing Bejeweled Blitz on Facebook.
I'm really bad at playing, so I decided to cheat and write a simple bot in Python which plays for me. Here you can see it in action:
It basically consists of 3 parts (like every bot) which will then be repeated:
- Analyze board
- Calculate moves
- Execute moves on board (by simulating user input)
Autopy was a great help for simulating user input (it's like the robot-class from Java in Python). The bot is quite simple/stupid and tries to do every move it sees.
Repo (Github): bejeweled-bot