Python Uses | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Python Uses

Can you use only python to make games, if so, how do you do this. Same question for programming robots and AI.

18th Feb 2018, 1:52 AM
Reeds0fARowlet
Reeds0fARowlet - avatar
2 Answers
+ 4
It is possible to make games via Python alone, but it may not be the best option when doing so. One of the more popular ways that game development can be done using Python is by using the PyGame module, which allows Python to write scripts and create the graphics for games, but making games with only code can be a little limiting, as only 2D games with not too much depth and design can be made. That being said, it is still possible to make decent games using PyGame and I'm sure that there is at least one game engine that uses Python to write scripts, as it is already excellent at writing scripts. When it comes to A.I. and robotics, Python is actually one of the best options nowadays that developers go to when doing that. Because there are so many modules, there is so much potential to create robots and A.I. making Python a great choice for that. What I would suggest when starting to learn how to program A.I. is to first get into machine learning and neural networks and start to branch off from there once you get the hang of it. Hope this helped!
18th Feb 2018, 2:11 AM
Faisal
Faisal - avatar
+ 4
Games don’t work very well on python. It is very bad with graphics and improves only if you download the pygame module, still looking mildly OK. AI is one of pythons better spots though.
18th Feb 2018, 2:03 AM
Jax
Jax - avatar