Dave's MATLAB Pong

a fast-paced two-player game
Updated 26 Apr 2011

View License

I tried to make my code as neat and understandable as possible. Lots of comments explain how everything works. Program is broken down into several understandable subroutines. There are (almost?) no "magic numbers", all values are clearly defined and explained at the beginning. This makes it very easy to modify things like colors, speeds, layout, physical behavior. Please post any suggestions or requests, I'd appreciate ideas for how to improve this program.

Cite As

David Buckingham (2024). Dave's MATLAB Pong (https://www.mathworks.com/matlabcentral/fileexchange/31177-dave-s-matlab-pong), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Video games in Help Center and MATLAB Answers

Inspired: Asteroids Matlab Version Game

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

new release of program includes several minor updates, not enough space here but they're listed at the top of the code. also wrote a more thorough description, updated tags, and updated the picture to reflect the program's new look.

changed tags. changed description