100-days-of-code/Day 21/README.md
rzmk 9e21e4dbdd Made the Snake Game!
Added Snake Game demo.
2021-08-12 17:52:37 -04:00

441 B

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