Skip to content

Conversation

@ThomasCaneday
Copy link

Title: Prevent start/finish tiles from becoming walls

Description:

Added an if statement (Path.jsx) to check if the node selected is the start node or target node. If so, returns grid unchanged.

Users could break the path by clicking the target or the start, leading to a path algorithm that searches the entire grid.

@threngthan threngthan force-pushed the main branch 28 times, most recently from 8213b83 to be7446a Compare June 12, 2025 08:38
@threngthan threngthan force-pushed the main branch 30 times, most recently from d3ef728 to 620a5bb Compare December 4, 2025 07:21
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.

2 participants