Due 14 Mar 2017

OSC Mice

Get the OSC Mice sketch from class working if you haven't already. Try getting it to run between two computers on the same network if you can!

Due 21 Mar 2017

Networked Pong

Implement a Pong game that will be played over the network using OSC.

The goal is to achieve a coherent game of Pong over the network with someone else's game. You may work alone or collaborate on Pong implementations that are meant to work together, but I recommend working together.

This is your midterm.

The Specification

The game window should be 500 x 500 pixels. The ball should be 20 x 20 pixels. The paddles should be 10 x 100 pixels. Standard Pong rules should apply.

The OSC protocol consists of two messages:

/player/position float float

/ball/position float float

Suggested Approach

Make a local pong game first. Implement the basic logic of pong with placeholder variables for the other paddle. Once that works, move on to adding OSC as we did in class to interact with another pong client.