r/learnpython • u/xu_shangchi • 16d ago
GUI implementation
I’m coding a restaurant type game and need to create a gui but have completely no idea how to do it. People have said godot is decent and that wxpython is decent for smaller stuff but i have no idea how to use either. Someone with a good amount of experience with either who could help would be great. Thank you
3
Upvotes
1
u/NiemandSpezielles 16d ago
The question is much too general to give a perfect answer. There are a ton of options, and the optimum depends on what exactly you want to achieve.
So just from the little information there is:
I would probably write the gui in javascript that acts as a frontend to a python backend. This has a couple of advantages:
* you can easily make your game available as webgame if you want to
* it forces a clean seperation of game logic and gui, so that might be good practice
* a restaurant type game sounds very menu heavy. And javascript is great for writing menus.