Simulate a Turn-Based Two-Player Game | OpenAI Interview Question