iDotsBot is a simple Java application that plays Dots on your mobile phone for you in “Turns” mode.

What you see is what you get (there’s no user interaction at all,the java app is doing all that’s happening)

In its current form it does not use the powerups since i enjoy having a little extra credits from running the bot. But using powerups is very easy to implement after all, so if you want it, feel free to add them. It will reload the board until in finds a reasonably good starting szenario and will often deliver more than 300 points without powerups. Add some extra moves and you easily reach 400+.

I wanted to compare several strategies (like this one) to play Dots and especially test a ruleset generator on the game and check how well other people’s strategies work out. Since I’m too lazy too do that manually, I’ve decided to code an automatic system to do exactly that.

You can check out the source code here :

If somebody’s interested, i can also create an app from it an upload it to MacUpdate once it’s mature enough 😉

The bot captures the screen of my mac (or your java machine) and uses simulated mouse clicks on the UI to interact with dots. I like, recommend and use TeamViewer to bridge my computer to my phone. Check it out, it’s free for personal use and a great piece of software.

If you’re a developer and you’d like to contribute

The DotFigures class needs to be refactored and added. It basically plays like a human, it searches for “patterns” like “burgers” or “quads”, ranks them and executes on them. I think I’ll add a “virtual score” for them and integrate them with the normal depth first search if I find some time to do that.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s