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
Jan 24, 2015

Jan 20, 2015



Jan 15, 2015

Jan 14, 2015


Jan 7, 2015

Jan 4, 2015


Dec 30, 2014

Dec 14, 2014

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