Home WinSpy2 & SpyDrive2 ECFTP Eon Clash's Text File Monitor Resume Creation Suite EC LCD Editor XML Browser Lite TXMLParser for Delphi Treemap ECXML Parser for Lazarus pas2lua and lua for Delphi/FPC AVR GCC Deprecated Macros XMethods WSDL Browser Graphics 32 Image Editor Demo Using TPaintBox for annimations Maze Generation and Solving TSimpleMath JD Docking Components JDErrorLog JDImageButton Tile Joiner SDL, LUA, and Freepascal Game Engine Demo Simple Bezier Curve sample in Lazarus Recurisve Shadowmapping in FPC/Lazarus ATerm - ANSI Terminal Demo Simple Side Scroller Demo Source Generic Pascal Lua Library pLua (Lua wrapper for FPC, Lazarus, and Delphi) News Forums Jeremy's Resume Contact Us Bug Tracking JumpStart Game Engine Jeremy's Blog

Maze Generation and Solving

If your into mazes and maze generation in Delphi then this might catch your eye. This is some code (not quite the final version) that I worked on for generating Mazes and solving them using flowing water. The algo used to generate the maze's is "Prim's Algorithm" and the solver is quite unique in that I've built it to "Learn" to solve from any point to any point on the maze.

I thought that maby others would really like some sample source on Maze Generation and Pathfinding, while this is a very primitive method of pathfinding the way that its managed is quite good :). Hope you like it.

- Jeremy

Click here to download
Text Link Ads