Loading...

Speed running web games with Python

360,070 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Feb 4, 2012

**Instructions for building your own bots can be found here: http://active.tutsplus.com/tutorials/...

*Note: The shell output and the video don't line up. I had to record them separately since the code forces focus onto the game which hides the interpreter. So its output is responding to a different run *

**For those testing out the code, you'll need to make sure you have Python Imaging library (http://www.pythonware.com/products/pil/), and PyWin (http://sourceforge.net/projects/pywin32/) installed. Make sure to set your environment PATH to include the pywin directory otherwise you'll still get the import error.


Speed running (slowly) with Python. It finishes it run in just over 1 hour and 20 minutes. It's severely edited down because watching a computer play a videogame is about as exciting as watching a human.

Small practice program for controlling things onscreen. Pretty clunky, but it will play beginning to end with no problems. Code and notes on github (https://github.com/Audionautics/Burri...)

It responds to police and bubble gummies... just not very often. The bison has to be traveling pretty slow in order to 'see' them. It responds fairly we'll to special events such as the pogo stick and glider (all it has to do is see it and then click).

There are TONS of things to fix, but it's good enough for now.

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...