Graphic designers contribute specific visual disciplines to game development but do not build the game alone. Games require a multidisciplinary team.
Graphic designers work daily with Game Designers (mechanics → UI), Programmers (UI implementation), Artists (style consistency), and Producers (schedules).
In indie dev, one person may wear multiple hats (code + art + design), but "graphic designer" alone doesn't make a game.