The most common answer is programmer, though in practice the job splits into more specific titles.
Studios also employ game designers, who define the rules and systems; artists and animators; audio designers; and producers who manage schedule and scope. "Game developer" is the umbrella term covering all of them.