I am gonna make tic tac toe game in matlab gui.How can I design a gui such that has m*m squares in it and every square is a pushbutton that when I click by mouse on any of them it is showing "X " , "O" , "X","O",...!the thing is that this m is a variable and should be entered at the beginning of the game! This is the game procedure:
1- a gui with a blank inside except a place to enter the dimension and another one to determining that who will start the game X or O!
that's all.
thank you for you help if you can!!!