Home | Prices | Contact Us | Courses: Power BI - Excel - Python - SQL - Generative AI - Visualising Data - Analysing Data
Back to Python Snake Course Landing Page
This is the provisional timetable.
Install Python and the VSCode editor on a laptop, then create a Python environment, install some packages and write/run a tiny script to prove everything is set up properly. Details here.
The session 1 meetup event page is here.
We’ll review the code in Session 1. This sets up our game and our snake is only a single square and does not move yet. We get our snake to move up / down / left / right a single square when the user presses the arrow keys on the keyboard.
This covers these Python topics: the while and for loops, invoking functions, the basic structure of a Python program.
The session 2 meetup event page is here.
We get our snake to change colours and to move more like a snake e.g. the snake moves at a constant speed, and the arrow keys control the direction but does not allow reversing.
This covers these Python topics: the if-elif-else code block, tuples, data types
The session 3 meetup event page is here.
Our snake literally takes shape and behaves more like the classic snake in the game. The game stops if the snake moves off the screen.
This covers these Python topics: lists, dictionaries, writing functions.
The session 4 meetup event page is here.
The session 5 meetup event page is here.
The game ends when the snake leaves the screen or collides with itself. If time allows we may implement a score.
This covers these Python topics: more about classes, organising code into modules.