+ 4

Can you build a python game from scratch?

Not that I would ever try it. But I'm curious whether it is possible to build a python game without using pygame or any other modules

14th Oct 2021, 7:44 AM
Richard
Richard - avatar
13 Answers
0
Richard it's not possible to make games with bullets, etc. With the python console...
14th Oct 2021, 7:12 PM
Sancho Godinho
Sancho Godinho - avatar
+ 7
Revma Pygame is not entirely written in python it uses C, Cpython and assembly language and uses SDL. Its better to use Pygame for making games using python. Richard if u try to make game using only python, u will eventually end up using everything provided for u in pygame.
15th Oct 2021, 1:40 PM
ACE
ACE - avatar
+ 4
Yes, of course. A game is a TYPE of application, I plan to use TKINTER and TURTLE to make them.
15th Oct 2021, 12:58 AM
CGO!
CGO! - avatar
+ 3
Richard Yes... Something Like This... Like A Quiz Game: 1) Car 2) Toy 3) Bike 4) Cycle Choose Your Option:
14th Oct 2021, 12:09 PM
Sancho Godinho
Sancho Godinho - avatar
+ 3
【ACE】 Best Game Engines In Python: 2D Games: Pygame 3D Games: Ursina
15th Oct 2021, 6:20 PM
Sancho Godinho
Sancho Godinho - avatar
+ 2
Yeah David Dolejsi . They say python is general purpose but you need to import libraries for almost everything . Websites ,apps even games . Libraries built in other languages
28th Oct 2021, 6:16 AM
Richard
Richard - avatar
+ 2
Richard I think you can build video games in Python without game libraries. They might even look something like these examples: https://code.sololearn.com/cny2exUQ1N8M/?ref=app https://code.sololearn.com/czl0wKqL7oOw/?ref=app https://code.sololearn.com/choN9R3QBDbd/?ref=app The console needs ability to do screen addressing. Set it up to support ANSI escape sequences to make that part work. The hardest part is getting keyboard input without wait. I haven't figured that part out in Python.
29th Oct 2021, 2:38 AM
Brian
Brian - avatar
+ 2
🌀 Shail Murtaza شعیل مرتضیٰ Sancho Godinho just listen David Dolejsi you are right, python is not for low level programming, however i disagree that python is trash. is js trash just because it cannot create games without the underlying browser, which is mostly written in c? though i wonder why is python called general purpose, and why is c called systems programming language, if c can be used to do everything, not just systems; while python could not?
29th Oct 2021, 2:02 PM
Bot
Bot - avatar
+ 1
Dont mind him. Python is simple and makes sense. Its a good first language
29th Oct 2021, 7:13 AM
Ansel ifelaja
Ansel ifelaja - avatar
+ 1
Does this questions title include "C Vs python"
29th Oct 2021, 9:00 PM
Richard
Richard - avatar
0
Revma But, He Also Included WITHOUT PYGAME OR ANY OTHER MODULES In His Question!
15th Oct 2021, 6:16 PM
Sancho Godinho
Sancho Godinho - avatar
0
I think [ A C E ] has answered the question
15th Oct 2021, 7:15 PM
Richard
Richard - avatar
0
David Dolejsi Lol! So! You are saying that PYTHON is limited and depends on c and that is why it is trashy ?? Lmao! I don't know from where you are comming. Sure python is limited because it was implemented that way. I don't know why too many people are fans of programming languages. Programming language is just a tool. Just a tool. Python is good for what it was made for. And C is good what it was made for. In this way C also depends upon assembly. According to you C is trashy. Now assembly depends upon binary. And then according to you assembly is also trashy. And binary depends upon transistors and according to you binary is also trashy. If I'm a system programer then C and assembly will be mine first priority. If someone is doing web scraping then interpreted language will be his first priority. During web scraping few milliseconds of change provided by c will not give any good to web scraper. But writing program in c will consume too much time and energy.
29th Oct 2021, 5:07 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar