Archive for February, 2013

“Ores” Web Game Playing Bot in Python

Wednesday, February 20th, 2013

Recently whilst looking up information on the internet I came across this tutorial on How to build a python bot that can play web games. I’ve written similar things myself before, but this looked like a nice simple method, so I thought I’d give it a go.

This is the game I picked as my target:

Ores Web Game

(You can play it here)

The goal - to write a program that will automatically play the game exactly the way a human player would play. That is, using only the information visible on screen with no behind the scenes fiddling or poking with the game’s code.

And here’s how things worked out …

(more…)