I would advise on either using unity or godot for making games in a short period like 10 mins, one day, 48 hours etc. They are rich engines which will sort out most of the things which might frustrate you if you need to start building a game from scratch.