Help with placing a shape on grid for tic tac toe. My code is shown below

Hi,

Welcome to the community! :wink:

Few things before we start digging into the real issue :

  • Nice tip : you can auto format your code by pressing Ctrl + T in the Processing IDE. It’s going to correct indentations and spaces.

  • On the forum, you need to always format your code inside code blocks by using the </> button. You can edit your previous post to change that. Multi line code is between those characters : ```

  • When starting a new thread, your issue description shouldn’t be inside the title but rather in the body of the message. Also be descriptive otherwise people are not willing to answer you :wink:
    Anyway check the posting guidelines and the FAQ :