100-days-of-code/projects/Day 21
2021-08-18 00:11:50 -04:00
..
food.py Made an epic showcase website and API! 2021-08-17 21:16:04 -04:00
main.py Made an epic showcase website and API! 2021-08-17 21:16:04 -04:00
README.md Added frontmatter to project READMEs 2021-08-18 00:11:50 -04:00
scoreboard.py Made an epic showcase website and API! 2021-08-17 21:16:04 -04:00
snake.py Made an epic showcase website and API! 2021-08-17 21:16:04 -04:00

custom_edit_url
https://github.com/rzmk/100-days-of-code/edit/main/projects/Day%2021/README.md

Day 21 - Build the Snake Game Part 2: Inheritance & List Slicing

  • Built a snake game.
  • Learned about class inheritance and list slicing.
# 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