2012-08-28

PingPong++

Upplagd av Daniel Nyberg

By utilizing Arduino pieozoelectric vibration sensors taped to the bottom of a Ping Pong table, each time the ball strikes the table, the location of the hit can be found. This information can in turn be used in visualizations made in Processing, that are displayed on top of the table with the help of a video projector.
The PingPongPlusPlus API is open source, and aim for a community driven experience, where people outside of MIT contribute with code and new visualizations. The use of Processing, an open source prototype creating language (originally aimed at artists with no prior programming experience), helps immensely in this. 7 MIT students were able to create different visualizations that changed the physical game entirely. They had next to no prior experience with programming, and none had programmed in Processing before.
They managed to create 3 different types of games.
  • Constellation was a game with stars mapped out. When the players managed to hit all stars in a constellation, lines where drawn to show the constellation in its entirety. This helps focus team play and cooperation between the players instead of the normal antagonistic play of table tennis.
  • Blocks is a Breakout style game where each player tries to eliminate all the blocks on the opposing side. Same coloured blocks that are connected give more points.
  • Munchkin Run is a game where there are small creatures on each side of the board, and hitting one of these will transfer the creature to your side. The goal is to get all the creatures over to your side.
The data from each game is also compiled in an open database that users can use to create new visualizations. The researchers have done just this and introduced new game modes that are designed to help a player get better.
  • The Defensive Heatmap shows where on the table the opponent is likely to send the ball, based on all previously played games on the table.
  • The Offensive Spotlight shows where on the opponent’s table the player should try to direct the ball. The area starts as a large circle and steadily shrinks to optimal area for scoring. This data is based on all previously played hits that resulted in a score.
  • Expert Arrows shows, with every hit, precisely where to aim the next ball for the maximum chance of scoring a point. The data used here comes from 15 experts who played 9 full games on the table.

0 kommentarer: