Pacman Video Tutorials
-
Pacman Handout 1 (Pacman Movement)
This tutorial demonstrates the behaviors, conditions, and actions used in AgentSheets to program key control for the Pacman agent. The behaviors also restrict Pacman's movement to pellet or background agents. The behaviors include depiction changes for the Pacman agent and pellet erasure when the Pacman travels above. -
Pacman Handout 2 (Ghost Movement)
In this video, we will program the ghosts to move randomly across the pellets and background agents of our worksheet. We will also program the Pacman to reset the simulation if it finds itself next to any of the four ghosts. -
Pacman Handout 3 (Tunnels)
This video demonstrates how to create tunnels. It includes behaviors to allow the Pacman to travel onto a tunnel. It introduces a new action called Broadcast in AgentSheets and defines methods for the Pacman to erase and the opposite tunnel to create a new Pacman agent. -
Pacman Handout 4 (Simulations)
Pacman Simulations displays how to use the Simulations tools in AgentSheets to track score as the pellets are erased. -
Pacman Handout 5 (Polling and Broadcast)
The Polling and Broadcast handout (Student Handout 3) requires students to follow technical directions to have the Pacman keep track of the remaining pellets on the board. This action requires the creation of a new simulation property and several methods.