Made an epic showcase website and API!
This commit is contained in:
parent
9e21e4dbdd
commit
1907fad7c5
89 changed files with 36444 additions and 3 deletions
15
projects/Day 21/README.md
Normal file
15
projects/Day 21/README.md
Normal 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
|
||||
|
||||

|
||||
Loading…
Add table
Add a link
Reference in a new issue