What does "play by" mean?

Native speaker’s answer
Rebecca
Here, "play by" means "follow" or "adhere to." Thus, "have to play by the country's laws" means "have to follow the country's laws." Ex: I don't like to play by others' rules. Ex: You will have to play by our rules if you want to fit in.