0978 A Guide To Building A Video Game in Python
0978 A Guide To Building A Video Game in Python
com
A guide to building
a video game in Python
OPENSOURCE.COM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT OPENSOURCE.COM
What is Opensource.com?
publishes stories about creating,
OPENSOURCE.COM adopting, and sharing open source
solutions. Visit Opensource.com to learn more about how the open source
way is improving technologies, education, business, government, health, law,
entertainment, humanitarian efforts, and more.
SETH KENLON
JESS WEICHLER
CHAPTERS
APPENDICES
[1] is an all-purpose programming lan- Windows: Microsoft Windows doesn’t currently ship with
PYTHON guage that can be used to create desktop
applications, 3D graphics, video games, and even websites.
Python. Install it from python.org/downloads/windows [3]. Be
sure to select Add Python to PATH in the install wizard.
It’s a great first programming language because it can be Read my article How to Install Python on Windows [4] for
easy to learn and it’s simpler than complex languages like instructions specific to Microsoft Windows.
C, C++, or Java. Even so, Python is powerful and robust
enough to create advanced applications, and it’s used in just Running an IDE
about every industry that uses computers. This makes Py- To write programs in Python, all you really need is a text editor,
thon a good language for young and old, with or without any but it’s convenient to have an integrated development environ-
programming experience. ment (IDE). An IDE integrates a text editor with some friendly
and helpful Python features. IDLE 3 and PyCharm (Communi-
Installing Python ty Edition) are two options among many [5] to consider.
Before learning Python, you may need to install it.
Linux: If you use Linux, Python is already included, IDLE 3
but make sure that you have Python 3 specifically. To Python comes with a basic IDE called IDLE.
check which version is installed, open a terminal window
and type:
python --version
python3 --version