Friday, May 23, 2014

Final Project- Pong

Working with Joseph Trotta and Julienne Ablay, together we made a game of pong. However we added more user interaction but incorporating a sonic range finder to track the movements of one of the players. In order to play, one of the players used their body to control the movements of the paddle/slider.
The range finder was mounted onto the lab table to prevent the a lot of movement to effect the finder's input. players will stand in front of the finder and as the move closer to the range finder, the slider/paddle would move upward, as they move a further away, the slider would move down. As for the other player, they would play using the keyboard.
For the code, the arduino would read in information about the player and read it into the pong project (made in processing). Those inputs would be converted into a range between 0-700 (The height of the screen minus 100 to accommodate for the length of the slider). The pong program was coded by the group.
To help balance this game, the slider controlled by the range finder moved very quickly but was hard to be accurate with while the slider controlled by the key board was more accurate but much slower. It is definitely interesting to both watch and play this version of pong and was a lot of fun to make.

470-12c ICE

Using the lab chairs and spandex filled with the dried beans, I came up with a fast pace competitive game. Similar to dodge ball and paint ball, players are place on the labs chairs are move around a field with "weapons" made with spandex and dried beans. Players roll around trying to knock another player off with their weapons. The last person standing/ the last team standing is the winner. However, players cannot push/kick or tackle the other players to try to knock them down, this can only be done with the weapons. The weapon will have a small pouch of beans, tied off and the rest of the spandex will be used as a sling. Each person has a certain amount of beans to make their weapon. Weapon size/weight are determined by the player. The more beans they use, the heavier the pouch will be but it will be more difficult to sling at people. The less bean they use, the lighter and easier it would be to sling, but it will be harder to knock people off. I personally think it would be interesting to play but potentially dangerous as well.

Microphone and Speaker Demo

I work with my friend, Joseph Trotta to make a device that insults you when you speak into the micro phone.

The wiring was very simple. We hooked up the microphone to an analog input pin, as well as power and ground. For the speaker, it is attached to a digital out pin, connected a resistor before reaching the ground.

By taking the input from the microphone, detecting a change in noise, we had the program say, "your breath stinks" to insult you. A very simple project but very interesting to work with sound with an arduino. I would love to play with sound more in the future.