Thread: Boggle board help

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    18

    Lightbulb Boggle board help

    Okay I have decided to make a working
    boggle game and it looks good so far its just that I don't have the intricate part of searching a matrix (an apmatrix actually and yes I did jack that s*it)


    Anyway I don't where to start anly because I like how my game works so far
    (outputs the board,shows a timer, and if need be can find a word in a dictionary)


    I just don't how the best way is to search a board for a word

    So any suggestions or code would greatly be appreciated thanks

    Heres what it looks like so far
    Boggle Screenshot
    I need MONEY more than help with My C++ so yeah you get the idea

    C notes preferably LOL

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    That will have to be solved recursively with a function that checks all the letters adjacent to a letter, forming strings, and checking the strings in the dictionary. When you encounter a string that doesn't match the beginning of a word in the dictionary (like zq) you can stop the recursion at the q and move on to a different second letter. I doubt that it will be easy to program, but it isn't horribly hard.
    Away.

  3. #3
    Registered User codegirl's Avatar
    Join Date
    Jun 2003
    Posts
    76
    Just FYI, your screenshot image didn't load in my browser... of course I'm using IE 5.1 for Macintosh so maybe that's why... (hey, I'm at work, I don't have a choice!)
    My programs don't have bugs, they just develop random features.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need a second opinion - code error and i cant see it
    By bigfootneedhelp in forum C Programming
    Replies: 19
    Last Post: 10-25-2007, 06:02 AM
  2. Constructor problem
    By rebel in forum C++ Programming
    Replies: 22
    Last Post: 01-11-2006, 06:45 AM
  3. function trouble
    By rebel in forum C++ Programming
    Replies: 4
    Last Post: 12-21-2005, 05:23 AM
  4. Pick a number....
    By Salem in forum A Brief History of Cprogramming.com
    Replies: 39
    Last Post: 01-19-2003, 07:27 AM