Chatgpt is a bit dated and dumb
It can spot errors in codes and get you started or something if you get stuck
If you wanna make a simple game there are great guides on youtube that show you how do things even without coding knowledge. But then afterwards... you will probably still feel like you dont know how to code
Ifyou just wanna learn basic coding of things, i recommend www.theodinproject.com
Its free, and awesome. It teaches you to make websites, but theres a good amount of fundamental info as well