Mar-25-2023, 04:14 PM
(This post was last modified: Mar-25-2023, 04:14 PM by deanhystad.)
Squares are places you can place an x or o. A tic-tac-toe board has 9 squares. Your board will have 54 squares.
This would be easier with tkinter using buttons for the squares
If you want to continue with pygame you need a sprite for each square. Using sprites will help detect where the mouse was clicked and you can change the sprite image to blank, x or o. You should start with a 3x3 board to iyon out the details.
This would be easier with tkinter using buttons for the squares
If you want to continue with pygame you need a sprite for each square. Using sprites will help detect where the mouse was clicked and you can change the sprite image to blank, x or o. You should start with a 3x3 board to iyon out the details.