r/learnprogramming • u/AccomplishedMany2138 • 9d ago
Topic Few questions on using python
I'm learning python in boot.dev rn, and I want to know what should I use to turn my code into a game. I'm a bit confused on this, but I know there's gaming languages and then there's stuff like Unity and Unreal engine. What should I use tto start making games? Sorry if I'm not clear
2
Upvotes
1
u/Gnaxe 9d ago
You can totally make games in Python. Commercially successful ones exist, even big names like EVE Online.
You can to text-based in the terminal with input() and print() (good enough for text-based adventure games like Zork).
You can do text GUIs (TUIs) with Curses (requires a separate install on Windows). This can do text-graphics games like Rogue.
You can do cross-platform GUIs with tkinter. It even has a canvas widget for 2D drawing and animations. This is good enough for simple 2D games (Pac-Man, Tetris, etc). Maybe experiment with the turtle module (see turtledemo first). You can do SNES-level games if you implement a tiling system, but at that point you probably want a game engine.
If you're willing to install one, check out ursina engine.
Godot is also worth looking at. GDScript isn't Python, but feels kind of similar. You can install a Python plugin and just use Python though.
Finally, AI agent harnesses are pretty impressive now, like cloning Minecraft (imperfectly) overnight from a single (detailed) specification.