-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Added the Shortest Path Finder gssoc'21 #499
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
Added the Shortest Path Finder gssoc'21 #499
Conversation
Added the links to the Screenshots.
Added the links to the Screenshots.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congratulations!! for making your first PR at Amazing-Python-Scripts, our mentors will review it soon.
Please review @santushtisharma10 @tamanna-verma @antrikshmisri as I don't have much experience in this algo. Ping me when it's ready to be merged, will assign the tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its not occurring in my local machine. Can you retry that? Or else elaborate on the error? @antrikshmisri |
Also, can you recheck if it's my project only? Because the file you're running has a different name than mine. Mine had a name as "Shortest Path Finder.py". So just check that once and if the error occurs again do let me know. I'll debug it. @antrikshmisri |
@SpecTEviL I agree with @antrikshmisri .The problem is in your grid placement. |
|
||
WIDTH = 600 | ||
WIN = pg.display.set_mode((WIDTH, WIDTH)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the width to the multiple of your rows(e.g. change the width to 595)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the width to the multiple of your rows(e.g. change the width to 595)
Sure I'll do it ASAP. Thanks for the suggestion.
Ok, I'll debug it and get back to it. |
Corrected the width of the Screen from 600 -> 595 to avoid the "List index out of range error" and making the grid symmetric.
Hey, @santushtisharma10 and @antrikshmisri I've made the required changes. You can review it now. If the error still persists do let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SpecTEviL LGTM 🚀
@all-contributors please add @SpecTEviL for code and documentation |
I've put up a pull request to add @SpecTEviL! 🎉 |
Description
Path-Finder is a Shortest Path Finding GUI application made with Pygame. It finds the shortest path between two points having some obstacles and thus avoiding them. It also shows the area of the board tracked to find the shortest path.
Fixes #496
Have you read the Contributing Guidelines on Pull Requests?
Type of change
Checklist:
README.md
Template for README.md