Libraries & Animation
In the first week, you were introduced to state. In the second week, you were introduced to iteration, one of the more difficult programming constructs to grasp. In the third week, we discussed another programming construct: selection. In week four, we reinforced these topics while incorporating file handling. In week five, we used functions to produce organised, maintainable solutions. Last week, we started to look at creating programs that use graphics. This week, we will build on last week and this week's study of the Tkinter library to create a simple retro snake game that uses animation, key binding and collision detection.
If you think you can build this game without assistance, try this now. If you would like some assistance, then work through this lab script. By the end, you will have created your own snake game and you will have experience implementing features that are required in your Tkinter coursework!