I don't think "if turn < 2:" , using < as infix operator is valid GAME code; I would expect something like "if < turn 2:"
I don't think you can do this in the Pre-Game code; I expect turn always to be 0 there, no matter how long the game is already progressing. Every time you submit or request the preset page GC would first execute the Pre-Game section, then the Pre-Move and Post-move sections for every stored move to set up the current position (increasing 'turn' in the process), and finally the Post-Game section. Preparation for the move to come (such as highlighting) should be done in the Post-Game section (where 'turn' will reflect the number of moves played so far).
I don't think "if turn < 2:" , using < as infix operator is valid GAME code; I would expect something like "if < turn 2:"
I don't think you can do this in the Pre-Game code; I expect turn always to be 0 there, no matter how long the game is already progressing. Every time you submit or request the preset page GC would first execute the Pre-Game section, then the Pre-Move and Post-move sections for every stored move to set up the current position (increasing 'turn' in the process), and finally the Post-Game section. Preparation for the move to come (such as highlighting) should be done in the Post-Game section (where 'turn' will reflect the number of moves played so far).