If you want to start coding games and don't like JS you could try Löve2D, it's a Lua-based beginner-friendly game-framework: love2d.org
You can check out github.com/adnzzzzZ/blog/issues/30 for a comprehensive tutorial
Much more advanced, but super-fascinating, building a commercial full game in C without libraries/engines: Handmade Hero
The code is just the first part though. At some point you might be a good coder, but still have no ideas for games. So don't forget to work on the game-design-part. For this, pencil/paper/glue is mostly sufficent.
As a game-designer/dev you will most probably throw away lots of prototypes and experiments btw.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.