DelphiForFun Home

Home  |  Introduction  |  Newsletters  |  Programs  |  Feedback





Support DFF

 If you benefit from the website,  in terms of knowledge, entertainment value, or something otherwise useful, consider making a donation via PayPal  to help defray the costs.  (No PayPal account necessary to donate via credit card.)  Transaction is secure.

If you shop at Amazon anyway,  consider using this link. 


We receive a few cents from each purchase.  Thanks



The index page for all Programs on the site?

The DFF Play CD?

Zipped file DFF Play contains  executable version of about  75 of the 200+ programs from the site, mostly those I particularly liked or thought would be of widest interest for non-programmers.  The file is rather large, about 20mb..

Anything else?





Search WWW



Not a programmer (yet)?

 That's OK -  the executable version for any puzzle or  game you find here is available for download.  Just scroll down to the bottom of most any description page and you'll find a "Download executable" link. Downloaded programs are in "zipped" format to reduce size and may require an "unzipper" program unless you are running Win XP or later.  Here's a link to a free one. 

Check  out  the Most Popular  Downloads from DFF   (updated weekly)

First time visitor?

Take a look at the Introduction page to see what this site is about

Notes for Teachers


What's New


March 26, 2018: 

Here's the February 23 Mensa puzzle that resulted in No Close Neighbors Version 3.0   posted today.  Two added features for this puzzle make it several times more difficult that the original.  It's only slightly more difficult for the computer program to solve, but much harder for humans trying  to solve it manually or for the programmer trying to tell the program how to do it (me!).

The original puzzle did not allow repeated letters and told you where the unused cells laid.  This puzzle changes that.  If you're up for a challenge, check it out.  


March 15, 2018:  A few years ago, someone came looking for Delphi code to allow highlighting specific words in a DBGrid (database grid) control.  I  don't use DBGrids, but StringGrid controls serve as a good substitute, or so I thought.  One of the StringGrid features not available in DBGrid was originally used to expand column widths when highlighting text size.  Code was changed to eliminate use of hat feature, but the unused code remained in place.   A fellow programmer wrote last week informing me of the problem when converting to use a DBGrid.  GridWordHighlight Version 1.1 posted today, removes the offending code and should work for either grid type. 

February 11, 2018: 

Of the 450+ programs on DFF,  Wordstuff is one of the two that have earned places on my desktop.   BruteForce, an integer algebra solver is the other. These are the "go to" programs when I need help with our Daily Mensa© Calendar puzzles.

Wordstuff is a "wrapper" for six programs solving or helping word based puzzles.   Over the years, many bugs fixes have been applied but enhancements can introduce new ones.  Updates today fix annoyances in the Word Completion and Unscramble sections.  Use the link above for more details and to download the program if interested.

February 5, 2018:  

Cats love to chase mice, pirates love to chase merchant ships, and dogs love to chase rabbits. I recently received an interesting book titled "Chases and Escapes", (Paul Nahin, Princeton University Press). The math gets a little heavy (i.e. Differential Equations), but the initial approach, the "Pursuit Curve" illustrated here, is straight forward and fun to simulate. The Dog chases the Rabbit by always heading toward its current location. If the dog runs faster than the rabbit (and the field is large enough), he will always achieve his goal.  This rabbit has a hole where he's safe if he can run at least as fast as the dog. In this Pursuit A program you can control the speed and the dog's location when he spots the rabbit and starts the chase.  Lots of room here for enhancing this program or adding other chase strategies.   




Football Field

January 18, 20183D Lab is an interesting program which draws one of several sample 3D objects viewed from multiple angles and elevations under user control.  Even though the code is 20 years old, it implements the math behind virtually all of today's CGI productions. Much of  the code here is likely  implemented in hardware today.   Thanks to Earl Glynn for publishing the original program and for permission to re-post it here with a little  animation of figure rotation.

January 3, 2018:  Happy New Year!    Here's an interesting history clip from  the  SourceForge website today:

Today in Tech – 1983

On this day in 1983 TIME magazine named its first Machine of the Year: the personal computer. It was a deviation from their annual tradition of naming Man of the Year, but was an appropriate one. At that time the PC was making big strides and a big impact on the world at large. As TIME publisher John Meyers wrote: “Several human candidates might have represented 1982, but none symbolized the past year more richly, or will be viewed by history as more significant, than a machine: the computer.” The PC remains the first and only Machine of the Year that TIME magazine has ever named.

December 13, 2017: 

The Cast A Word puzzle has been solved!  Just not by me.  Recall that we are given 16 four letter words which can be formed by throwing four dice with letters on their faces and reading the tops.  The problem is to assign  letters to the dice in such a way that this can be done.  Cast  A Word. Version 2 written by Sergio, a smart, older, Italian, "just for fun" programmer bailed me out.  Click the link to find out more and download the program.

November 29, 2017:   Log Sawing Version 4 was posted today.  This program suggests effective ways to saw logs into lumber with a horizontal bandsaw.  It is a major rewrite from the original, hopefully for the better.   The original program was written in 2010 when owning a sawmill was only a "big boy's" dream.  Now that the dream has come true, it's time to make the program more than a math & programming exercise.  The biggest change from version 1  is the more realistic reporting of cutting positions as inches above the bed since the saw head moves down rather the the log moving up as boards are cut..   Click the link above to see more change details and to download the program.    

October 31, 2017:  A grandson's wedding, a run-in with an uninsured deer, replacing a garbage disposal when it its retaining clamp rusted through, breaking-in the new sawmill, and a hard-to-crack puzzle have made this a busy month without much to show for it.    The puzzle of the month Cast A Word,  is an interesting one that that's going to require more time to program.   In desperation, I did solve it with pen and paper today, so might get a solver programmed before Thanksgiving J .  


The What's New Archives





  • July 7, 2014:  Note: this "Collapsible"  month by month list of postings since year 2000 is not collapsing for some reason, making this a very large home page.  Until it gets fixed, you can reference the complete quarter by quarter list of postings on the Newsletter page.