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.



The autoblitz bot just scored 258,400.

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 ????


    10 Apr 09 at 3:27 am

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


    10 Apr 09 at 3:36 am

  3. Does this work online……..


    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.


    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!


    11 Apr 09 at 10:52 am

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


    11 Apr 09 at 12:04 pm

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


    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


    11 Apr 09 at 2:56 pm

  9. Would love to get a link to this bot. πŸ™‚


    12 Apr 09 at 2:30 am

  10. When will you post the download link?
    its now sunday night πŸ™‚


    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 πŸ˜‰


    12 Apr 09 at 2:49 pm

  12. That is just plain amazing πŸ˜€
    I lol’d hard at the 250k medal


    15 Apr 09 at 11:49 pm

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


    2 May 09 at 8:41 am

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



    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?


    11 May 09 at 8:32 pm

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


    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


    14 Aug 09 at 9:01 am

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


    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