This is the first version of a game I built in Processing. The game uses a webcam to track color. In this case, the program is scanning the video frame for the orange color on the tip of the toy gun. Although the program knows where in the frame the gun is located, it can't tell where exactly the gun is being pointed. So I'm going to build the game out in such a way that the program knows precisely where the gun is being aimed. This will likely require some additional hardware, so expect the next version to be a bit more complex.