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.
This commit is contained in:
ilmabura
2025-12-07 12:32:24 -05:00
parent f0840a02fc
commit e2273773eb
5 changed files with 75 additions and 4 deletions

8
wall.py Normal file
View File

@@ -0,0 +1,8 @@
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