News for hackers. Stuff that matters.
Re:Speed running web games with Python by djtriptych on Sunday February 05, 2012 @07:52PM (#3555782)
tl;dr - Python bot plays online game via point and click. Source code here: https://github.com/Audionautics/Burrito-Bot/blob/master/Burr...

Not gonna win any awards for code style, but projects like this are the kind of things that make me glad I know at least one language really well.

The source is just a few hundred lines of extremely readable code that accomplishes something pretty remarkable.

Re:Speed running web games with Python by ashconnor on Sunday February 05, 2012 @08:02PM (#3555801)
New to Python, so the user says on Reddit.
Re:Speed running web games with Python by Serentiynow on Monday February 06, 2012 @10:46AM (#3557757)
Re:Speed running web games with Python by anthonyb on Sunday February 05, 2012 @10:34PM (#3556084)
Reminds me of Sikuli: http://sikuli.csail.mit.edu/ If you check out their blog, they have a script which plays Angry Birds.

I've done similar things myself, with boring online/Facebook games. If you can script it, it's not a very interesting game.

edit: Here's my take on the ethics of bots: http://blog.oarsum.com/post/255516489/cheating-and-game-desi...

Re:Speed running web games with Python by janzer on Monday February 06, 2012 @12:37AM (#3556335)
I agree; Chess has so little to make it interesting. :P
Re:Speed running web games with Python by anthonyb on Monday February 06, 2012 @06:03AM (#3557008)
Heh. I guess chess has been scripted, but it took long enough that I'd probably consider it to still be an interesting game.
Re:Speed running web games with Python by Vivtek on Sunday February 05, 2012 @09:14PM (#3555933)
Man, when I tried to do this with Tower Defense a few years ago I had the devil of a time reading the screen. I did end up managing to do everything but good OCR on the digit status displays, though - then lost interest.

I'll bet everything would work better now...

Re:Speed running web games with Python by Serentiynow on Monday February 06, 2012 @10:50AM (#3557775)
I would define this as a tool assisted speed run (TAS). Check out TASVideos.org if you are interested in reading more. The site is dedicated to TASing console games in emulators using various programming languages.
Re:Speed running web games with Python by jamesu on Monday February 06, 2012 @03:23AM (#3556660)
Many times i've wanted to finish a game which requires a succession of boring and repetitive commands to complete. Automating it like i do any other development task seems like the perfect solution!
Re:Speed running web games with Python by gojomo on Monday February 06, 2012 @05:21AM (#3556910)
Is there a script for Cow Clicker yet?