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
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Asteroids Matlab Version Game
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | 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. |
||
1.1.0.0 | changed tags. changed description |
||
1.0.0.0 |