When playing video games, you mainly use the muscles in your hands and forearms—specifically the wrist and finger flexors and extensors, along with the muscles in your thumb.
Overall, though, gaming does not engage a large amount of muscle, which is why breaks and stretching are a good idea.