The javascript code behind the Peep Commander game at http://eclecticappdevelopment.co.uk/games/peepcommander.html