Dead Maus

This program was written in Processing for Introduction to Programming. The game is a simple sketch where the two agents’ movement is affected by sound input taken from clients over a data stream.

The two agents move constantly in a circle if there is no sound input. The movement of agents in any direction is created with vectors. If there is input, a vector working in the opposite direction will be activated, and will make the associated agent move out of its pattern. This was done since movement had to be created based on one variable per client, moving in a 2D-space. If the players can get the agents to collide, the game ends and resets the position of the agents.