A simple pong game tutorial to introduce Python to beginner programmers. This tutorial is adapted from the Python Learning series on freeCodeCamp.org. The intro to the python syntactical section was adapted from w3schools.com. It is a brilliant resource for further reading in Python and a myriad of other programming languages and concepts.
PackHacks Hacker Guide: How to install Python
Although any text editor will technically work, I'd recommend one that has some tools to help us write python.
- Visual Studio Code is an open-source code editor created by Microsoft. It's the editor I use throughout the tutorial.
- Atom is a free and open-source text editor developed by GitHub. You can install a package like atom-beaufity to help format your code.
- Print statements
- Variables and data types
- Booleans and Operators
- Conditionals
- Lists
- If - Else
- Loops
- Functions
- Using the Turtle library for simple graphics development
- Using loops and functions
- String formatting methods
- Conditional Statements
- Global variables
- Programming best practices
- Python 3.x
Sagnik B