Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How do you employ recursion into a Java Boggle program?

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do you employ recursion into a Java Boggle program?

    So, I've been working on a Java Boggle program lately, and our teacher requires us to use the concepts of recursion. However, I am having trouble, first of all, with understanding the concept of recursion altogether, and especially, its code, and applying recursion to check for letters around letters on the Boggle board.
    I'd just like to know how recursion can be applied, and where I should start, along with hopefully understanding the concept more and knowing more about how it's useful in making a Boggle program. The code can come later, but it's the understanding of the overall plan of the program that will help me more in understanding the recursion concept (in this Boggle program).
    Thank you so much!


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,156
    My Mood
    Hungover
    Thanks
    141
    Thanked 595 Times in 510 Posts

    Default Re: How do you employ recursion into a Java Boggle program?

    Please don't post multiple copies of the same thread. I've deleted your duplicate post, as this seems a more appropriate forum for it (and is therefore more likely to receive help).

    It's also pretty hard to help with such general questions. But in theory, you'd start at a letter, and recurse to another letter. Are there any words that start with those two letters? If so, continue recursing on another letter, if not, return.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: How do you employ recursion into a Java Boggle program?

    Boggle
    What is Boggle?

Similar Threads

  1. Replies: 2
    Last Post: July 7th, 2011, 03:46 PM
  2. Replies: 2
    Last Post: November 7th, 2010, 01:33 PM
  3. Boggle not working?
    By gandalf5166 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 6th, 2010, 10:53 AM
  4. Program without loops and recursion
    By jayaram in forum Algorithms & Recursion
    Replies: 7
    Last Post: April 1st, 2010, 09:02 AM