Skip to content

The revolutionary new version of the classic arcade game Pong with Eye-Tracking and voice commands to lower the barriers of gaming. with @joshualee8 and @smskio. More info: pupilpong.tech

License

Notifications You must be signed in to change notification settings

w1lt/pupil-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Visual Studio Code

❗️UPDATE - Received 2nd place award at HackKU 2023

🏓 Pupil Pong - HackKU 2023 🏓

Welcome to Pupil Pong, the revolutionary new version of the classic arcade game Pong! Our company has developed a cutting-edge system that allows players to control the game using only their eyes.

Our technology uses advanced eye-tracking software to accurately capture a player's eye movements and translate them into real-time gameplay. This means that every move, every block, and every point is controlled entirely by the player's eyes.

Demo

📺 Youtube Demo

🌏 Website Demo

🌏 Devpost

🌐 About the Project

Within Pupil Pong, we utilize Eye Tracking to detect the movements of the pupil in relation to the eye. Using the horizontal and vertical ratios between the pupil and the edges of the eyeball👁️, our game can detect which direction the player wants to move their right paddle and move it in that direction without needing to physically interact with a device at all.

During the initial menu of our game, we utilize voice commands that allow the user to easily choose between three options: play game, which starts the game; about, which displays the creators and teaches the player how to play the game; and quit, which exits the program entirely.

Our game is made using Python and is Object-Oriented. We implemented our pong like game using the Python game engine Pygame. We learned how to combine multiple different libraries together to create a seamless experience. In addition, we got more comfortable using Github for version control and collaboration, which made sharing our code much easier and quicker. Last but not least, we gained more experience using pip and homebrew to install new libraries on our computers

👨‍💻 Installation

pip install -r requirements
brew install flac
brew install Pillow
brew install autoaudio
brew install pyaudio

🎮 Usage

To run the game, enter the following into the root directory:

python3 pong_menu.py

Then, speak which command you would like to run, and begin playing.

✨ Contributors

We all had a blast working on Pupil Pong. With all of us being freshman at KU, we thoroughly enjoyed our first hackathon ever.

📄 License

MIT

About

The revolutionary new version of the classic arcade game Pong with Eye-Tracking and voice commands to lower the barriers of gaming. with @joshualee8 and @smskio. More info: pupilpong.tech

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages