I am currently writing my thesis and need to include figures of tic-tac-toe/noughts and crosses games. Up until now I created my figures using PowerPoint (see image 1, and 2).
I looked up similar questions and found the following ones:
However they either use a table to represent the game or macros to place an X or O character on a board. Since I also need dashed symbols (see image 5) to represent optimal moves I can not use their approach.So the individual slots of the board are either blank, contain their index or a symbol. Furthermore I would like to place either a single line of text beneath the diagram or multiple lines to its right.
Could anybody point me to other questions or resources that I could use to create the figure below?
game of tic-tac-toe with zero-based index and text underneath

game of tic-tac-toe with empty slots and text on the right

game of tic-tac-toe optimal moves highlighted by dashed symbol


