The relationship between video and computer games and academic performance is one of the more contested questions in education research, and any serious study has to begin by acknowledging that the results point in both directions.
On one side, time spent gaming is time not spent studying, and heavy play has repeatedly been associated with lower attainment. On the other, games demand reading, planning, resource management and persistence, and some studies find measurable cognitive benefits from that. The variables that matter most tend to be how much is played rather than whether, and what is displaced as a result.
A useful introduction therefore frames the topic as a question about trade-offs and context rather than about games being inherently good or bad for grades.