SoftwareProjektSolver: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
m (link fix)
 
Line 4: Line 4:
=== What to do ===
=== What to do ===


upload:solver[[GC1259N]].gif
[[Image::solverGC1259N.gif]]


The goal is to reach the gray border with the last step (and finding the route with the least hops). Start with 3 in the middle.
The goal is to reach the gray border with the last step (and finding the route with the least hops). Start with 3 in the middle.


=== The Solution ===
=== The Solution ===

Revision as of 21:09, 7 January 2010

To solve "Weitblick" (GC1259N) I programmed this:


What to do

[[Image::solverGC1259N.gif]]

The goal is to reach the gray border with the last step (and finding the route with the least hops). Start with 3 in the middle.

The Solution

A perl program, that uses brute force and finds the solution after about 207,000,000 tries. This takes some seconds on my iMac but is eventually much faster than trying this by hand...

upload:heiko20081110solver.zip


System Requirements

  • Perl