- The idea is for everyone to have something to show off and play with
- That means no-one will be left behind
- The way we're not going to leave people behind is that everyone's going to be unblocking each other in Slack. If you're stuck, post a sentence or a screenshot and everyone else will help to unblock you. The aim of this is to try to get everyone to be self-sufficient.
- We'll gloss over some things and generalise a bit. Some of the code could be neatened up with some clever tricks, but we'll leave those alone for now. This might feel a bit frustrating for some, but it's just too overwhelming to try and learn everything all at once. For now we'll have to let some magic be magic and focus on the essentials โจ
- Getting setup for coding
- The terminal
- Coding for the web
- Essential Javascript
- Variables
- Functions
- If statements
- Classes
- Arrays (referencing indexes; pushing, shifting)
- Loops
- p5.js (a creative coding library)
- The developer tools in Google Chrome
- Unblocking yourself
- Unblocking others
- Reading errors
- Seeing me mess up loads
- Make a coding folder with a snake folder in it from the command line
- Download Atom
- Get prettier
- Download empty snake template (with p5.js) and open it on localhost
- Explain what snake is
- Explain how p5 draws stuff and it's draw and update functions
- Make a blob
- Move it around
- Make apples pop up
- Eat the apple
- Grow the snakes body when it eats an apple
- Make the snake die when it hits a wall
- Make the snake die when it hits itself
- Show the score
- Make everything all nice and pastel coloured. Go nuts with styling.
- Ensure the apple doesn't pop up on a square where the snake's already at.
- Add a box on the web page so that you can control the speed without changing the code.
- Snake 2 (go through walls).
- Translate your code into Python for extra snake points ๐๐๐
- Import an image of a real apple.
- Deploy it to the web with it's own domain name
- Train a machine learning algorithm to play snake ๐ค
- Pay it forward - teach this workshop to someone else!