Move the Blob
Middle School
Intro HS
Physical Science
Javascript
On the internet there are some fun games where you control a circle-looking-thing that you can move around and interact (and potentially destroy or absorb!) other circle-looking things controlled by other people. Two games that come to mind are diep.io and agar.io. There are plenty of others like them out there
Links to Activity
Learning Objectives
At the end of this lesson students will…
- Understand basic p5.js syntax, specifically the difference between “+=” and “=”.
- Explain how position and velocity are related using visual evidence from the game.
- Create a simple “Move the Blob” game which allows them to move a circle using arrow keys.