An entire degree is not needed, but some courses in computer programming, software engineering, network programming are all useful. There are tons of courses that can broaden your horizon in a way that you wouldn't have otherwise learned without that course, but a CS degree will only give you a really good foundation and often than not it will not teach you to make game.
[insert game link here] lol
Start with 3d programming with a graphics library like vulkan or directx and start making a simple 2d game and then work your way up
An entire degree is not needed, but some courses in computer programming, software engineering, network programming are all useful. There are tons of courses that can broaden your horizon in a way that you wouldn't have otherwise learned without that course, but a CS degree will only give you a really good foundation and often than not it will not teach you to make game.