Files
project_game/wall.py
ilmabura 2af3d6c2e7 Last milestone completed
Completed the project. I wanted to replace the player with a penguin, but it didn't fit the maze, so I kept it as an '>'.
It shows where you begin and where you need to go to finish, and each game is a different maze. I thought this was very difficult and i needed to learn how to make a maze, I was not prepared for that.
2025-12-07 16:17:56 -05:00

9 lines
265 B
Python

class Wall:
"""
A simple wall tile. It just sits on the board and blocks movement.
"""
character = ""
blocks_movement = True
def __init__(self, position):
# position is a tuple (x, y)
self.position = position