Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathfinder #3

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Pathfinder #3

wants to merge 8 commits into from

Conversation

qusayqadir
Copy link

working on developing the logic for finding a valid path for the given maze, implemented logic for having a player that keeps track of current position and direction, implemented new enum class for direction to allow for the changes in direction ( I.e N, S, E,W ), finally added a tile class that checks if moving forward, irrespective of the direction, will be a wall or not, to indicate to the pathfinder to change direction and attempt moving forward in another direction.

…ll dictating false move and true is an empty space dictating a potential move
…nd exit point of the maze and return them in a integer list
… correct implementation of p and i, including error handling. Had tempory solution for the maze for test purposes, next steps will be to implement the right hand maze solve issue
Copy link
Author

@qusayqadir qusayqadir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me in terms of logic, will refactor for other logic disparities, and then run test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant