Files
project_game/wall.py
ilmabura e2273773eb created the maze walls and collision detection
the hardest part was creating a maze with a solution. I realized I didn't know how to do that and had to google how to create a maze.
Once I had a maze generator, I was unsure of whether there was a solution to it. Figuring that out took some time. Then I changed the look to be more digestible. I chose a maze game because I thought it would be simple, but it didn't feel simple.
2025-12-07 12:32:24 -05:00

8 lines
234 B
Python

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