Made an epic showcase website and API!

This commit is contained in:
rzmk 2021-08-17 16:39:42 -04:00
parent 9e21e4dbdd
commit 1907fad7c5
89 changed files with 36444 additions and 3 deletions

21
projects/Day 19/README.md Normal file
View file

@ -0,0 +1,21 @@
# Day 19 - Instances, State, and Higher Order Functions
- Built an etch-a-sketch while understanding higher order functions
- Simulated a turtle race with randomized steps using class instances
## Etch-a-Sketch
![Day_19_Etch_A_Sketch](https://user-images.githubusercontent.com/30333942/128927402-10006522-2640-4569-b6d0-706cca4fc811.gif)
This etch-a-sketch uses higher order functions to run when keys are pressed on the keyboard.
- **w** - Move forwards
- **s** - Move backwards
- **a** - Turn left
- **d** - Turn right
- **c** - Reset etch-a-sketch
## The Great Turtle Race
![Day_19_The_Great_Turtle_Race](https://user-images.githubusercontent.com/30333942/128927073-cf125780-b3ce-432e-8808-c4ac4d2c6e34.gif)
The Great Turtle Race uses multiple instances of the Turtle object from [the turtle module](https://docs.python.org/3/library/turtle.html) that move by a random number of steps to the edge of the screen.