I always imagined it with one person typing the code and another defending them by fighting off enemies and stuff but it can also be played 1 player
Viewing post in I got a game idea would you guys play it
I don't know if there are any available here, but I know 2 pretty good games for learning phyton (or just programming in general).
1. The farmer was replaced.
You have to program a little drone to water and harvest plants. It starts out simple, but later the planting tasks get more complex. The drone is programed in Python, of course.
2. Code: Terraform
A game about terraforming an alien planet. You have to build and program machines and rovers etc. Every machine has to be programmed in Python.
If it doesn't have to be a proper game, you could also try to do the phython course on https://www.w3schools.com/ . They have some quizzes and little programming puzzles.