TicTacToe Lite Version


Did you remember my first post about MATLAB Fun Toolbox? Yup, it is about MATLAB Code for TicTacToe. In this code, I use ‘getpts’ function to get user’s input from mouse click. Unfortunately, ‘getpts’ function is the part of MATLAB Image Processing Toolbox. Therefore, those who does not have Image Processing Toolbox installed in MATLAB will not be able to run this code. Thanks to Mark Untisz for noticing this.

So, last night, I decided to create another version of my TicTacToe. It uses popupmenu uicontrol instead of ‘getpts’ function to get user input. Thus, this code can be executed without any specific toolbox requirement. Its interface is quite different from my first code but the AI algorithm is still the same. Here is the look of TicTacToe Lite Version.

MATLAB TicTacToe Lite Version – Screenshot 01

MATLAB TicTacToe Lite Version – Screenshot 02

Note that this new code is solely created to accomodate those who does not have MATLAB Image Processing Toolbox in their MATLAB. As usual, you can download both version of TicTacToe in my MATLAB Fun Toolbox page. I hope you can enjoy these code, especially you, who does not have Image Processing Toolbox.

Regards,

0X_R

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s