pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Find a Way

Find a Way - Recode

Sean J McKiernan (mekire)

Tags:

Description

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

 

Controls:

  • 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)

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

Changes

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.

Links

Home Page: http://code.google.com/p/find-a-way/
Source: http://code.google.com/p/find-a-way/downloads/list

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

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

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 29, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

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