Source

fc-solve / fc-solve / site / wml / src / links.html.wml

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
#include '../template.wml'

<latemp_subject "Freecell Solver Links" />

<h2 id="resources">Resources</h2>

<p class="desc">
Freecell Solver Resources on the Net.
</p>

<ul>
<li>
<p>
<a href="http://groups.yahoo.com/group/fc-solve-discuss/">Freecell Solver's
Mailing-List</a> - a mailing-list dedicated to discussing the usage
and development of Freecell Solver and general techniques for solving
card solitaire games. Hosted by
<a href="http://groups.yahoo.com/">YahooGroups</a>.
</p>
</li>

<li>
<p>
<a href="http://fc-solve.blogspot.com/">The Freecell Solver Blog</a> - a blog
dedicated to Freecell Solver, solving Freecell and other related issues.
</p>
</li>

<li>
<p>
<a href="http://freecode.com/projects/freecellsolver">Freecode.com’s
App-Index Record</a>
- the record for Freecell Solver at Freecode (formerly known as
Freshmeat.net). You can find there a version
history, a Freecode internal hit count, and other useful information.
</p>
</li>

<li>
<p>
<a href="<get-var presentation_url />">Freecell
Solver Lecture</a> - A lecture I gave to the
<a href="http://www.haifux.org/">Haifa Linux Club</a> about the
development of Freecell Solver.
</p>
</li>

<define-tag old_berlios_stuff>
<li>
<p>
<a href="http://developer.berlios.de/project/?group_id=66">BerliOS' Project
Page</a> - contains instructions for checking out the source from
<a href="http://svn.berlios.de/svnroot/repos/fc-solve/trunk/">its Subversion
repository</a> and other goodies.
</p>
</li>

<li>
<p>
<a href="http://svn.berlios.de/viewcvs/fc-solve/">ViewVC Repository Viewer</a>
- allows one to browse the repository online with convenience. See also
<a href="http://userscripts.org/scripts/show/35046">this GreaseMonkey script
to provide links back to the Subversion repository's URLs</a>
</p>
</li>
</define-tag>

<li>
<p>
<a href="http://bitbucket.org/shlomif/fc-solve">Project Page on BitBucket</a> -
contains the version control repository (based on Git), a bug/issue tracker,
and other resources.
</p>
</li>

<li>
<p>
<a href="http://code.google.com/p/fc-solve/">Google Code Project Page</a> -
contains the old Subversion respository.
</p>
</li>

<li>
<p>
<a href="http://bitbucket.org/shlomif/fc-solve/src">Source Code Browser</a> -
a browser for the source code.
</p>
</li>
</ul>

<h2 id="technologies">Technologies</h2>

<p class="desc">
Technologies used by Freecell Solver or that aided in its development.
</p>

<ul>
<li>
<p>
<a href="http://www.msu.edu/user/pfaffben/avl/">libavl</a> - a very nice
library which contains optimized C implementations of an AVL and Red-Black
binary trees. It used to be GPLed but is now LGPLed, which means it can be
used in open-source and proprietary code.
</p>
</li>

<li>
<p>
<a href="http://libredblack.sourceforge.net/">libredblack</a> - an
ANSI C implementation of a Red-Black tree. Takes some modifications to
compile on Win32. LGPL, so can be used by a code of any license.
</p>
</li>

<li>
<p>
<a href="http://www.gtk.org/">glib</a> - a C library used by gtk+, which
can also be used separately (as is the case with Freecell Solver). Contains
implementations of a hash, and an unoptimized balanced binary tree. Both
are slower than libavl/libredblack or the internal hash implmentation, and
it is less programmer-friendly.
</p>
</li>

<li>
<p>
<a href="http://www.heyes-jones.com/astar.html">The A* scan</a> -
a states graph scan that uses a priority queue for determining which state
to go to next. The page contains some source code, but the explanation
is also very good. Note that in Freecell Solver, we ended up implementing
a
<a href="http://en.wikipedia.org/wiki/Best-first_search">Best-first search</a>
instead due to a misunderstanding.
</p>
</li>

<li>
<p>
<a href="http://dmalloc.com/">The dmalloc malloc debugging library</a> -
a library to trace memory leaks. Freecell Solver used to have some of those
in various stages of its development, and this library helped to remove
them. It has a rather awkward output, and I had to use a debugger
interactively to complement it, but it is still quite helpful. Now mostly
superceded by <a href="#valgrind">Valgrind</a>.
</p>
</li>

<li>
<p>
<a href="http://www.cmake.org/">CMake</a> - a cross-platform, open-source
build system, which is used by Freecell Solver to portably build
dynamically-linked libraries and facilitate the build process on different
operating systems. It replaced
<a href="http://www.shlomifish.org/open-source/anti/autohell/">GNU Autoconf, Automake and
Libtool</a>, which predate CMake and have gained popularity lacking any
good competition, but are more error-prone and slow.
</p>
</li>

<li id="valgrind">
<p>
<a href="http://developer.kde.org/~sewardj/">Valgrind</a> - a sophisticated
memory debugger for x86-linux. Helped trace a few hard-to-catch bugs in
Freecell Solver.
</p>
</li>

<li>
<p>
<a href="http://www.vim.org/">Vim - Vi Improved</a> - an excellent
cross-platform text editor with many powerful features.
</p>
</li>

<li>
<p>
<a href="http://subversion.tigris.org/">Subversion</a> - an Open-Source
version control management system that has been used in maintaining the
Freecell Solver codebase. It replaced <a
href="http://www.cvshome.org/">CVS</a> which is older and much more limited.
</p>
</li>

<li>
<p>
<a href="http://perl-begin.org/">Perl</a> - Perl is a sophisticated,
high-level, dynamic programming language. It is often considered a "scripting
language", but can be easily used for writing large-scale and production code.
Perl proved useful for writing a lot of code to automate many tasks in the
development of Freecell Solver. Lately, it was also utilised as the foundation
for its test suite, especially in writing <a href="$(ROOT)/verify-code/">the
solutions' verification code</a>.
</p>
</li>

<li>
<p>
<a href="http://www.gnu.org/software/gdb/">GDB, the GNU Debugger</a> -
a powerful, cross-platform, scriptable, and open-source command-line
debugger for binary programs (C, C++, Assembly, etc.). Made debugging and
fixing many hard-to-catch bugs much easier.
</p>
</li>

<li>
<p>
<a href="http://www.methods.co.nz/asciidoc/">AsciiDoc</a> - a lightweight
markup language (with open-source converters) that allows to write plain-text
and convert it to XHTML, to
<a href="http://www.docbook.org/">DocBook/XML</a>, and subsequently
to other formats such as PDFs, or UNIX man pages. We use it for
<a href="$(ROOT)/docs/#distributed-docs">the distributed documentation</a>.
</p>
</li>

<li>
<p>
<a href="http://mingw-w64.sourceforge.net/">MinGW-w64</a> - a port of the
GNU build tool-chain (including GCC) to Windows 32-bit and Windows 64-bit.
Used for preparing Microsoft Windows packages.
</p>
</li>

<li>
<p>
<a href="http://dwimperl.com/">DWIM Perl for Windows</a> - a comprehensive
and open-source distribution of Perl 5 for Windows. Based on <a href="http://strawberryperl.com/">Strawberry Perl</a>.
</p>
</li>

<li>
<p>
<a href="http://python.net/crew/theller/ctypes/">ctypes</a> - an advanced
foreign function interface (FFI) for Python. Used for automated testing.
</p>
</li>

<li>
<p>
<a href="https://metacpan.org/module/Inline::C">Inline::C</a> - Inline::C
allows one to write Perl subrourtines in C. Freecell Solver uses it
for automated testing and for wrapping some of the internal and external C
APIs.
</p>
</li>

</ul>

<h2 id="front_ends">Programs that use Freecell Solver</h2>

<ul>
<li>
<p>
<a href="http://www.kde.org/kdegames/">kpat</a> - a Solitaire suite for
the <a href="http://www.kde.org/">KDE</a> desktop for UNIXes.
Uses Freecell Solver to solve its Freecell boards, starting of the
version that was shipped with KDE 2.1.
</p>
</li>

<li>
<p>
<a href="http://www.ambermango.com/f3d/">Freecell3D</a> - a 3-Dimensional
Direct-X Freecell Implementation for Windows. Shareware.
</p>
</li>

<li id="freecell-pro">
<p>
<a href="http://www.rrhistorical.com/rrdata/Fcpro65/">FreeCell Pro</a> - a
free Freecell implementation for Windows with many professional features.
Integrated Tom Holroyd's Patsolve, and the original Don Woods' solver
as well as my own. <a href="don_woods.html">Source code</a> is available.
</p>
</li>

<li>
<p>
<a href="http://pysolfc.sourceforge.net/">PySolFC</a> - a collection of more
than 1,000 Solitaire card games originally based on PySol. Has optional support
for playing using the Freecell Solver executable.
</p>
</li>

</ul>

<h2 id="people">People</h2>

<p class="desc">
Links to the homepages of people who contributed in any way to Freecell
Solver. Because of spamming issues, I don't put their E-mails here. In case
you want their E-mail address, either go to their homepage or send me an E-mail.
</p>

<ul>

<li>
<p>
<a href="http://people.kde.org/stephan.html">Stephan Kulow</a> -
as the maintainer of kpat for a brief period, he contributed bug fixes,
memory leaks reports, and general commentary to Freecell Solver. Stephan and
I still hold discussions about FCS in the mailing-list or in private.
</p>
</li>

<li>
<p>
<a href="http://www.heyes-jones.com/">Justin Heyes-Jones</a> - I learned about the A* scan through his webpage,
and he allowed me to incorporate his binary heap code into Freecell Solver.
</p>
</li>

<li>
<p>
<a href="http://www.oberhumer.com/mfx/">Markus FXJ Oberhumer</a> -
contributed some bug-fixes and bug-reports
to Freecell Solver. He is the author of
<a href="http://pysolfc.sourceforge.net/">PySol</a>,
a very nice Solitaire suite which is written in Python. I used its
code to write a script that automatically generates its initial boards.
</p>
</li>

<li>
<p>
<a href="http://members.tripod.com/professor_tom/">Dr. Tom Holroyd</a> -
author of Patsolve and someone whom I discussed Freecell solving with
for many E-mail transactions. He inspired or encouraged many features
in Freecell Solver.
</p>
</li>

<li>
<p>
<a href="http://www.shlomifish.org/open-source/interviews/adrian-ettlinger.html">Interview with Adrian Ettlinger</a> -
an interview with Adrian Ettlinger, the maintainer of
<a href="freecell-pro">FreeCell Pro</a>, who
helped in adapting it to make use of Freecell Solver. Adrian also
maintains <a href="http://www.rrhistorical.com/rrdata/">a page about the
American Railroad History Database</a>.
</p>
</li>

</ul>

<h2 id="other_solvers">Other Solvers</h2>

<p class="desc">
We have competition. But there's nothing wrong with competition. ;-)
</p>

<ul>
<li>
<p>
<a href="http://members.tripod.com/professor_tom/archives/">patsolve</a> -
an ANSI C program that automatically solves games of Freecell and Seahaven
Towers. Source code is available under the GPL. Its author, Tom Holroyd,
and I discussed Freecell solving for quite a few E-mail transactions, before
I established the mailing-list.
</p>
</li>

<li>
<p>
<a href="http://www.solitairelaboratory.com/fcpro.html">Freecell Pro</a> -
a Freecell implementation for Win32 that contains the solver by
<a href="http://www.icynic.com/~don/">Don Woods</a>.
Very fast and relatively accurate solving. The <a href="don_woods.html">Source
code</a> is available.
</p>
</li>

<li>
<p>
<a href="http://www.ensicaen.ismra.fr/~delvare/devel/gfreecell/gfreecell.html">
Gfreecell</a> -
an implementation of Freecell for Gtk+ with its own solver.
Source code is available, but it's in French. <tt>%-)</tt>
</p>
</li>

<li>
<p>
<a href="http://notabdc.vip.sina.com/EngPage/e_solver.htm#FreecellTool">Freecell
Tool</a> -
a Win32 program that hijacks games out of Microsoft Freecell and displays
their solution. Provided the inspiration for Freecell Solver's Random-DFS-based
scans.
</p>
</li>

<li>
<p>
<a href="http://www.xs4all.nl/~odemar/braincell/brainjam.htm">Berto's Freecell and
Brain Jam Solvers</a> - Two programs for Windows that solve Freecell and
Baker's Game (which he refers to as Brain Jam). Source code is not
available.
</p>
</li>

<li>
<p>
<a href="http://www.winsite.com/bin/Info?500000006158">autofree</a> -
A freeware program by Lingyun Tuo that automatically solves Freecell.
</p>
</li>

<li>
<p>
<a href="http://www.barthelet.org/freecell/freecell.html">A Solver for
Mathematica</a> - a Mathematica application by Luc Barthlet that solves
Freecell games. Source code is available and is explained in detail.
</p>
</li>

<li>
<p>
<a href="http://www.williamtp.com/cv.html">William Tunstall-Pedoe's
Solver</a> - he mentions he wrote one in his C.V., which contains other
interesting artificial intelligence musings. The source code and the binary
are not available for free download online and may or may not be available
upon request.
</p>
</li>

<li>
<p>
<a href="http://seahaven.sourceforge.net/">X11 Seahaven</a> - contains
C++ source code for a Seahaven Towers auto-solver.
</p>
</li>

<li>
<p>
<a href="http://kevin.atkinson.dhs.org/freecell/">Common LISP Solver</a> -
by Kevin Atkinson and Shari Holstege. Written in Common LISP and the
source code is available under the GPL. It was written as part of an AI
course project and contains a final report.
</p>
</li>

<li>
<p>
<a href="<doxygen:url />">C++ Port of Freecell Solver by Michael Mann</a> -
Michael Mann ported FCS to C++ and used
<a href="http://www.doxygen.org/">doxygen</a> to cross-reference and
document the code. Covers version 2.2.x of the program.
</p>
</li>

<li>
<p>
<a href="http://members.socket.net/~dominic1976/">Dominic Veit's Freecell
Solver</a> - a solver written in Java that does not use back-tracking and is
still able to win 85% of the games.
</p>
</li>

<li>
<p>
<a href="http://www.numin8r.us/programs/">Gary Campbell's FCELL.COM</a> -
a solver for Freecell written in x86 assembler for DOS and compatible
environments. Reportedly very fast and uses some interesting techniques.
See <a href="http://groups.yahoo.com/group/fc-solve-discuss/messages/685">some
discussion of it</a> in the fc-solve-discuss mailing list.
</p>
</li>

<li>
<p>
<a href="http://www.tranzoa.net/~alex/plspider.htm">plspider.exe - a solver
for Spider Solitaire</a> - the site contains a Win32 binary, which, due
to bad design decisions, is using many of the author's custom libraries,
and is also multi-threaded. The author has sent me the source code, but
I am unable to compile it because I lack the libraries that he used.
</p>
</li>

<li>
<p>
<a href="http://download.cnet.com/FreeCell-Solver/3000-18522_4-54671.html">GUI
FreeCell Solver 1.0rc5 for Mac OS X 10.2 by JCP Software</a> - an
original solver written in C++ (with a GUI). The web-site is short on details,
but I was contacted about it by the author, Julian Pellico, who informed me
that he has made the
<a href="http://www.assembla.com/code/fcsolve-mac/subversion/nodes">source</a>
available as open-source software under the GPLv3.
</p>
</li>

<li>
<p>
<a href="http://broadcast.oreilly.com/2009/01/january-column-graph-algorithm.html">Algorithm to Solve FreeCell Solitaire Games</a> - George T. Heineman's
step-by-step tutorial on O'Reilly-Net about how to construct a solver for
Freecell in Java.
</p>
</li>

<li>
<p>
<a href="http://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/">Solver
for "Black Hole" Solitaire</a> - a solver for the solitaire "Black Hole" in
Perl 5 by the same author as Freecell Solver.
</p>
</li>

<li>
<p>
<a href="https://sourceforge.net/projects/freecelljsolver/">FreeCell
Java Solver</a> - a solver for Freecell written in Java on Sourceforge.net.
Open source under the restrictive GPLv3 licence.
</p>
</li>

<li>
<p>
<a href="http://www.solitairey.com/">Solitairey online patience game</a> - contains
a Freecell solver written in JavaScript. The
<a href="https://github.com/pharrington/Solitairey">source code</a> for it is
available on github, under the open source FreeBSD licence.
</p>
</li>

<li>
<p>
<a href="https://github.com/ShootMe/KlondikeSolver">ShootMe's
Klondike Solver</a> - a solver for Klondike Solitaire (known as the “Solitaire”
game from Windows) written in C++ and available under the permissive
MIT/X11 Licence.
</p>
</li>

<li>
<p>
<a href="http://www.systemcall.org/blog/2011/09/freecell-puzzles-solver-api/">“FreeCell
puzzles solver API”</a> by rengolin - a blog post about
<a href="https://github.com/rengolin/code/tree/master/Projects/freecell">some
C++ code on GitHub</a> for solving Freecell. Under the
<a href="https://github.com/rengolin/code/blob/master/license.txt">GPL
version 3</a> open source (but restrictive) licence.
</p>
</li>

<li>
<p>
<a href="http://metacpan.org/release/Freecell-App">The Freecell-App CPAN
Package</a> - a “simple Freecell Solver” written in Perl and distributed as
a CPAN (= Comprehensive Perl Archive Network) package. By
<a href="http://metacpan.org/author/SHIRHA">Shirl Hart</a>. Open source
under the permissive (and GPLv2/GPLv3 compatible)
<a href="http://en.wikipedia.org/wiki/Artistic_License#Artistic_License_2.0">Artistic
License 2.0</a>.
</p>
</li>
</ul>

<h2 id="reviews">Reviews of Freecell Solver</h2>

<ul>
<li>
<p>
<a href="http://www.solitairelaboratory.com/fcfaq.html">
Review in the Freecell FAQ</a>
</p>
</li>

<li>
<p>
<a href="http://web.archive.org/web/20011130142144/http://sweetcode.org/archive/2001-11.html">Sweet Code's Review</a> (on the Internet Archive).
</p>
</li>

<li>
<p>
<a href="http://seniorcitizen.blogspot.com/2001_11_25_archive.html#7474819">Senior Citizen</a> -
quite amusing, IMO.
</p>
</li>

<li>
<p>
<a href="http://lists.golum.org/pipermail/golum-nontech/2001-October/000303.html">A
review by Mark Turnage of the "Group of Linux Users in Memphis"</a> - also
quite amusing.
</p>
</li>

<li>
<p>
<a href="http://suso.suso.org/xulu/Thoughts/Thanks_Freecell_solver!">SusoSight's
Thought of the Moment Regarding Freecell Solver</a>
</p>
</li>
</ul>

<h2 id="general_freecell">General Freecell Links</h2>

<ul>
<li>
<p>
<a href="http://www.solitairelaboratory.com/fcfaq.html">The Freecell FAQ</a> -
contains a lot of interesting questions and answers regarding Freecell.
</p>
</li>

<li>
<p>
<a href="http://cards.wikia.com/wiki/Main_Page">Card Games Wikia
(Deckipedia)</a> - a wiki about card games, including but not limited to
Solitaire games such as Freecell.
</p>
</li>

<li>
<p>
<a href="http://people.cs.uu.nl/hansb/d.freecell/freecellhtml.html">An
unsolvable instance of Freecell</a> - a proof that not all initial Freecell
instances are solvable.
</p>
</li>

<li>
<p>
<a href="http://en.wikipedia.org/wiki/FreeCell">"FreeCell" on
the Wikipedia</a>.
</p>
</li>

<li>

<p>
<a href="http://freecellgamesolutions.com/">Short FreeCell Solutions</a> -
contains solutions to the first 1 million Microsoft deals. The first 32,000
require JavaScript to be viewed, but those above 32,000 can be read using
a form submission. The solver that generated these solution does not appear
to be available.
</p>

<p>
The maintainer of this site has reported some broken links here, so it's
only fair that we will link back to him.
</p>

</li>

<li>
<p>
<a href="http://www.solitairey.com/">Solitairey</a> - play Freecell and other
Patience games online. The
<a href="https://github.com/pharrington/Solitairey">source code</a> is
available on GitHub.
</p>
</li>

<li>
<p>
<a href="http://worldofsolitaire.com/">“World of Solitaire”</a> - another
attractive online implementation of various Patience games, including Freecell,
and Baker's Game.
</p>
</li>
</ul>