Home > Uncategorized > Boggle Solver

Boggle Solver

Last week I was asked how I might implement a Boggle solver. After a bit of thought, I hacked a version in Ruby, then ported it to Windows using C++ and WTL. The zip includes source for the C++ and Ruby versions, as well as a prebuilt Windows binary and a substantial word list from YAWL. Launch from the folder containing the word.list.

By the way, neither implementation handles ‘Q’ yet.

Download Boggle Solver Executable and Source

Categories: Uncategorized Tags:
  1. Lee
    April 2nd, 2008 at 06:28 | #1

    I cant download this file 🙁

  2. peterk
    April 2nd, 2008 at 07:05 | #2

    Sorry about that – somehow the file permissions weren’t set right.
    Should work now.

    Stay tuned – I have a couple of newer versions coming up in the next few days.

  3. October 29th, 2011 at 00:59 | #3

    God only knows how you have written this beautiful. I am trying to digest CDict Class. Can you put some light how it works.

    • peterk
      January 31st, 2012 at 15:42 | #4

      Thanks for your kind words. I’ve updated the Boggle package with an explanation of how CDict and the CBoard::Walk code works, and posted it on Github at https://github.com/pkrnjevic/Boggle. Read the comments there.

  1. No trackbacks yet.