caustik's blog

programming and music

Game playing AI bot

with 20 comments

Every once in a while a silly idea grips you and you decide “Screw it, I’m going to do it”.

That happened with me with a game called Bejeweled Blitz on Facebook. My friends online have been competing for high score for the past few weeks. I got to thinking…”How hard would it be to write a program to automate playing this game..?”.

This is the result of that question. It took a few days at a few hours per day. Probably about 6 hours combined time. Right now the bot is able to play pretty well. It can do better than I can most the time (although my high score currently beats the bot’s high score). With some improvements, I expect that will dramatically change.

Anyway, here’s a video of the program in action.

[youtube=http://www.youtube.com/watch?v=WRqGzqnip-w]

Update:

The autoblitz bot just scored 258,400.

http://i2.wp.com/i42.tinypic.com/1zmi2yp.jpg

Written by caustik

April 8th, 2009 at 5:04 pm

Posted in Games,Hacking

Tagged with ,

20 Responses to 'Game playing AI bot'

Subscribe to comments with RSS or TrackBack to 'Game playing AI bot'.

  1. Were can i get this bot ????

    jimbo

    10 Apr 09 at 3:27 am

  2. I will put a download link, hopefully this weekend.

    caustik

    10 Apr 09 at 3:36 am

  3. Does this work online……..

    Franky

    11 Apr 09 at 1:51 am

  4. It works on the Facebook bejeweled blitz, which tracks your scores online. Not sure if that answers your question.

    caustik

    11 Apr 09 at 9:45 am

  5. I want this so badly so I can make all my friends look silly. I can get up to like 110k, but never any higher. Please post a download link! you’re the man!

    Mo

    11 Apr 09 at 10:52 am

  6. Awaiting [not so] patiently for the bot thanks!

    timmo

    11 Apr 09 at 12:04 pm

  7. Kewl…cant w8 to seeme moms face when i beat a score…..lol

    Franky

    11 Apr 09 at 1:21 pm

  8. will you be posting the bot this weekend ? if so thank you so much, really looking forward to it

    Dragon.Wagon69

    11 Apr 09 at 2:56 pm

  9. Would love to get a link to this bot. :-)

    justyn07

    12 Apr 09 at 2:30 am

  10. When will you post the download link?
    its now sunday night :)

    Derick

    12 Apr 09 at 11:52 am

  11. This looks pretty cool, I would love to play around with it. Any chance of releasing the source?

    Thanks either way, it looks awesome, especially the video 😉

    Jeffrey

    12 Apr 09 at 2:49 pm

  12. That is just plain amazing 😀
    I lol’d hard at the 250k medal

    Darep

    15 Apr 09 at 11:49 pm

  13. how do i run autoblitz. can someone please give me a complete step by step please

    hh

    2 May 09 at 8:41 am

  14. Can you tell me the link to the bot?

    Thankx

    raptor

    5 May 09 at 7:06 am

  15. […] a very versatile DJ who can craft a good mix out of almost any genre. And he has a post about a bot that can play bejeweled, along with its source […]

  16. Anyway I can get this bot?

    Mastamike

    11 May 09 at 8:32 pm

  17. what did you program with? C++???

    georgewhg

    27 Jul 09 at 8:34 am

  18. if i can get the link to this bejewled blitz bot i would really appreciate it.

    thanks a lot

    firewall

    14 Aug 09 at 9:01 am

  19. sorry for the comment necro. But Looks like your memory reading or are you reading pixels?

    chris

    2 Oct 09 at 6:14 am

  20. One of the sites I found had lots of great info on herbs and was really helpful. Its really difficult to find good info

    Nathan Doig

    13 Mar 10 at 12:31 am

Leave a Reply