This is a replay viewer written in javascript that renders tournament matches from the CS188 Pacman CTF contest page using canvas and javascript. This viewer is intended as an educational tool so that students outside of CS188 can share a laugh when AI fails in spectacular ways and marvel at the power of expected utility.

This viewer was written by Devan Lai and thoroughly tested by his team-mate Ken Cheng in Fall 2010 in an attempt to make the best pacman AI ever, but it ended up being more fun to watch the replays than to write code, so only submitted their bot once.

There are two ways to view matches using the replay viewer:

  1. For matches from the Spring 2011 tournament you can use the integrated viewer which shows you the contest result pages, but with all replay download links replaced with links to the viewer.
  2. Matches from Fall 2010 are accessible here, but only matches from the final tournament still exist.
  3. For any other matches, or if the integrated viewer does not work correctly, use this bookmarklet: Add Replays
    by either pasting the link address into your url bar after loading the contest page, or by bookmarking this bookmarklet and clicking on it after loading the contest page. The bookmarklet will execute javascript that will replace all links to replay files on the page with links to the replay viewer.

    Note, this new bookmarklet no longer break links if you run it multiple times on the same page.

Here's an example: