I was reminded of Casey Muratori's "Handmade Hero" video project where he shows you how to write a game in C from scratch without using any libraries. It's a cool project, but, hear me out here, libraries are great! You can walk in there and they've got desks and/or computers for you to use, and you can tell the librarian about how you want to make a game from scratch, and they'll be like "that sounds rad" and you can walk out with an armful of game programming books and a spring in your step