1 shared variable per game - write a comment to announce which game 1 or 2 and whether you are player 1 (tick) or two (x) in the comments. Shared variable code could be used for other turn based games for example.noughts and crosses or chess. receive when last digit = toggle, idea is you do not read what you have written so change toggle on write.