Made the Snake Game!

Added Snake Game demo.
This commit is contained in:
rzmk 2021-08-12 17:45:13 -04:00
parent 735ff97d0d
commit 9e21e4dbdd
5 changed files with 165 additions and 0 deletions

15
Day 21/README.md Normal file
View file

@ -0,0 +1,15 @@
# Day 21 - Build the Snake Game Part 2: Inheritance & List Slicing
- Built a snake game.
- Learned about class inheritance and list slicing.
```python
# The Fish class inherits the attributes and methods of the Animal class
class Fish(Animal):
def __init__(self):
super().__init__()
```
## Snake Game
![Day_21_Snake_Game](https://user-images.githubusercontent.com/30333942/129274809-8c292e1e-28e4-4df5-a1b0-57b77155782a.gif)