XO Game for MATLAB 6.5 & 7
No License
This is an XO game (tic tac toe) compacted into one M-file. On the number key pad, the user plays against the computer, which uses simple rules.
The computer is not unbeatable, so the challenge can be to beat it in as little time as possible. The game time is displayed after each game, and the user has a 50% chance of playing first.
There are sound effects for each of the three possible game outcomes.
Cite As
Samir & Nathir Rawashdeh (2024). XO Game for MATLAB 6.5 & 7 (https://www.mathworks.com/matlabcentral/fileexchange/7961-xo-game-for-matlab-6-5-7), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: XO Game with GUI
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.0.0.0 | Updated file to work with MATLAB 6.5 as well as 7+SP1 |