Convert an exposed Player count without leaving callers using a field that no longer exists publicly. Treat the class and its callers as one complete change.
In the old version, Player declares a public int NumberOfTurns field. A caller starts at zero and records one turn this way:
Player jordan = new Player();
jordan.NumberOfTurns = jordan.NumberOfTurns + 1;
int displayedTurns = jordan.NumberOfTurns;Find All References separates reads from writes. Do not replace a request to record one turn with a method that accepts an arbitrary total.
Replace the old Player definition with the complete controlled-access version, which declares private numberOfTurns and provides RecordTurn and GetNumberOfTurns.
Player jordan = new Player();
bool accepted = jordan.RecordTurn();
int displayedTurns = jordan.GetNumberOfTurns();For the first request, accepted is true and displayedTurns is 1. At the limit, accepted is false. The caller can use that result to decide what feedback to show.