Ping pong with paddle and music selection discs.

Ping pong with paddle and music selection discs.

For the Midterm project, I build a ping pong rhythm game with Godot. User need to hit the ball to the beat of the song. Songs can be selected by putting their chosen music disc in front of the computer camera and waving the paddle.

Paddle made from laser cut acrylic and the LEGO double motor.

Paddle made from laser cut acrylic and the LEGO double motor.

April Tags were attached to cardboard discs to mimic records.

April Tags were attached to cardboard discs to mimic records.

The songs were categorized based on 3 themes: Fantasy, Retro, and Future

Fantasy Theme

Fantasy Theme

Retro Theme

Retro Theme

Future Theme

Future Theme

Game Showcase

The in-game paddle is controlled with the IMU inside the double motor, and pose detection. The highest number of consecutive hits are send with MQTT from topic ME193/Rogers/Ryan.

20261013-2216-14.2622594.mp4

Game

Click on the game with your mouse to start. It’s recommended to play with either headphones or volume raised.

https://ryancole208.github.io/pingpongmidterm-web/

Instructions:

Setup

Press enter to start

Use Up/down arrows and enter or mouse to select song

Press esc to leave screens

Gameplay:

Use left/right arrow keys to move paddle left/right

Use Q/E to tilt the paddle up to 45% in either direction

Press F to flip the paddle

Press esc to leave song

Note:

The paddle will not work with this current setup. You would need to run bridge.py

There is a significantly high delay when playing on Notion. Sorry

Use the file below to download the game. I found my computer warning me about running the program, as I am not a known publisher.

PingPongRhythmV5.zip

Prototype Journey

1st Prototype: Ping Pong

2nd Prototype: Bowling

3rd Prototype: Mini Golf