pygame is
Simple DirectMedia Layer is
Site Swing
Find a Way

Find a Way - Recode

Sean J McKiernan (mekire)



This is a simple pathfinding demo that I made investigating A*.



  • Mouse left button: add start/goal, draw barriers
  • Mouse right button: delete start/goal/barriers

(clicking the text on the screen triggers and toggles functions if you don't want to memorize hotkeys)


  • Space: Start
  • Enter: Restart
  • i: Reset to initial state
  • 1,2,3: Switch between Rook, Queen, and Knight movement
  • d: Toggle animation on/off
  • Esc: Quit


This is a recoding of this project up to my current standards. The logic of the astar algorithm has been separated from the interface allowing for its reuse in other programs.


Home Page:


click to view original size


Find a Way - Recode - Jun 24, 2013
Find a Way - 0.01 - Dec 3, 2011 account Comments

If you wish to leave a comment with your account, please sign in first.

No user comments have been submitted.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Oct 23, 2016

Oct 22, 2016

Oct 17, 2016

Oct 11, 2016

Oct 10, 2016

Oct 3, 2016

Oct 1, 2016

Sep 19, 2016

Sep 17, 2016

Aug 30, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)