Snake Game In Python - Python Beginner Tutorial

Published: 16 July 2020
on channel: Patrick Loeber
227,192
3.2k

Implement the famous Snake game in this beginner tutorial! Learn also how to use the curses module to build terminal applications. This tutorial is aimed at beginners. You will learn about different data structures (e.g. lists and tuples) and how to implement the game logic with different control flows (e.g. while loop / if-statements).

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

Get my Free NumPy Handbook:
https://www.python-engineer.com/numpy...

⭐ Join Our Discord :   / discord  

📓 ML Notebooks available on Patreon:
  / patrickloeber  

If you enjoyed this video, please subscribe to the channel:
▶️ :    / @patloeber  

You can find the code here:
https://github.com/patrickloeber/pyth...

Curses doc:
https://docs.python.org/3/howto/curse...

Original Code:
https://gist.github.com/sanchitgangwa...

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

🖥️ Website: https://www.python-engineer.com
🐦 Twitter -   / patloeber  
✉️ Newsletter - https://www.python-engineer.com/newsl...
📸 Instagram -   / patloeber  
🦾 Discord:   / discord  
▶️ Subscribe:    / @patloeber  

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅿 Patreon -   / patrickloeber  

Python

----------------------------------------------------------------------------------------------------------
This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏