Simple game of 6-ball billiards.
Updated 25 May 2011

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This is a simple and straightforward demonstration of a 3D pool game using MATLAB.

There are 6 balls and you can pocket them in any order you want.

Cite As

Husam Aldahiyat (2024). MATLAB Pool (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Fixed some bugs, improved physics, more fun.