How can I create my own car games using python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I create my own car games using python

I am new to python so I wana start learning by simple game making.

24th Mar 2021, 2:55 PM
Keerthi charan Manuvarthi
Keerthi charan Manuvarthi - avatar
9 Answers
+ 3
first finish the python course to have an overview of the language, then start by practicing this stuff (by creating basic textual games)... when you will be comfortable with that, you could jump to learn one of the python game engine such as pygame ;)
24th Mar 2021, 3:10 PM
visph
visph - avatar
+ 2
snake game could be a good first step to handling GUI (Graphical User Interface), but I think that you should be minimal comfortable with CLI (Command Line Interface - text only) and basics of Python first, before diving in how handling windows and graphics... ... as graphics could be only done in GUI ^^ example of basic textual games: guess the number, rock paper cissors... requires only text input/output. however, here in sololearn, you cannot really run scripts with interactivity, as all inputs must be given at very beginning, the the script run with the provided inputs at server side, output are collected and send at once as response wich could be displayed.
25th Mar 2021, 3:36 AM
visph
visph - avatar
+ 2
ditto. dont worry, snake’s actually been done as an example in one programming book with pygame, so its definitely a good beginner project once youre through basic python
25th Mar 2021, 3:54 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 2
Whether it's a snake game or car game, as the others have suggested, Pygame is a good module to use.
26th Mar 2021, 3:27 AM
Sonic
Sonic - avatar
+ 1
despite the popular hype, graphical game making isn’t really a beginning task with programming, but it is intermediate I suppose. However, car physics is definitely not intermediate (although it gets close if you’re using the Blender 2.79b game engine which has the car physics basics built in). I would recommend you start with something more like games that were around in 1985.
24th Mar 2021, 7:05 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
How can I make my own snake game Using python.
25th Mar 2021, 3:26 AM
Keerthi charan Manuvarthi
Keerthi charan Manuvarthi - avatar
+ 1
First of all learn python become professional coder in python then make your plan 1] learn the python 2] become professional coder in python 3] find best game engine that depending on your choise [ make sure this game engine are using python] 4] and go to start your game building best of luck for your journey
26th Mar 2021, 8:13 AM
NOOR
NOOR - avatar
+ 1
For both my and his sake, please clarify the definition of “professional,“ because currently in my mind it’s labeled as, “Some level approximately 2 to 3 times more proficient than you are at current,“ and it has mostly stayed that way no matter how much Python I learn.
26th Mar 2021, 1:55 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
- 1
Arnav Shan that’s not necessarily true. While a game engine can make things easier, it’s not necessary to create a game. Also, both of those are not python game engines. One python 3-D game engine I know of is blender 2.79, or its continuation in UpBGE, though you can make 2D or even 3-D games just using pygame from scratch.
5th Jun 2021, 4:03 PM
Wilbur Jaywright
Wilbur Jaywright - avatar