Questions tagged [boggle]

Boggle is a word game that is played using a plastic grid of lettered dice, in which players attempt to find words in sequences of adjacent letters. Do not use this tag if you are boggled trying to find a solution, use this only for questions related to the game Boggle or something similar to finding words from letters on connected vertices on a graph.

Boggle™ is a word game designed by Allan Turoff and originally distributed by Parker Brothers. The game is played using a plastic grid of lettered dice, in which players attempt to find words in sequences of adjacent letters.

For example the word super:

enter image description here

Instructions

Because of the simplicity of the game and reasoning needed to model solutions to the game in software, it is popular as a learning exercise or homework. There are thousands of repositories on GitHub for Boggle™

References

89 questions
0
votes
1 answer

Trouble with my algorithm to solve a boggle board

so I'm relatively new to Java (I'm taking AP java at my school currently) and I am trying to develop a recursive algorithm to solve an n*n board and I feel I am very close but not quite there yet. I have everything written out to traverse my…
Louis B
  • 342
  • 1
  • 5
  • 21
0
votes
2 answers

Running Boggle Solver takes over an hour to run. What is wrong with my code?

So I am running a Boggle Solver in java on the NetBeans IDE. When I run it, i have to quit after 10 minutes or so because it will end up taking about 2 hour to run completely. Is there something wrong with my code or a way that will make is…
0
votes
1 answer

My Boggle program won't find all the valid words - Java

So I am working on a Boggle program in java and I am having trouble getting it to find every possible word. It finds almost all of them but for the life of me I cannot figure out why it won't get them all. private void findWords( TreeSet
billg118
  • 561
  • 1
  • 5
  • 13
0
votes
1 answer

Algorithm to find word on Boggle board

I'm building a boggle game in vb .net. Right now, my dices are as a 2d array (0,0 0,1 ) etc... What I want it to do is, as I'm typing the word, that it highlights it on the board using the button(x,y).doclick sub which highlights it. Right now my…
jmasterx
  • 52,639
  • 96
  • 311
  • 557
0
votes
1 answer

Boggle - Implementing Recursion

So, I'm trying to figure out how to implement the recursive calls for a simulation of Boggle. There are two players: human and computer. When the human goes, s/he finds a words on the board (which was randomly shuffled), and the recursive call is…
Con Antonakos
  • 1,735
  • 20
  • 23
-1
votes
1 answer

Boggle game check spelling

I have made a boggle game now I want to to attach a dictionary file to it where this game check spelling and return whether the spelling is correct or wrong. #include #include #include #include int…
-1
votes
1 answer

Why is my Java Boggle Code not Working?

public class coggle { public static void main(String[] args) { Scanner scan = new Scanner(System.in); HashSet d = new HashSet<>(); String[][] board = new String[5][5]; for (int i = 0; i < 5; i++) { for (int j = 0;…
-1
votes
1 answer

use of undeclared identifier 'top'; did you mean 'pop'?

My professor gave me some code in c++ about backtracking for a boggle game. but it won't compile for me. I get this error , use of undeclared identifier 'top'; did you mean 'pop'?, and heres the rest of the code if needed. Thanks! // Maze01.cpp :…
Alex Lopez
  • 3
  • 1
  • 2
-1
votes
1 answer

upload via git: fatal: '/git/p/Boggle' does not appear to be a git repository

I am doing the reddit pygame boggle challenge. On my laptop it is in a directory called Boggler, but at sourceforge it is called pygame-boggle. When I do 'git push -u origin master' it gives the error in the title. What am I doing wrong? How do…
marienbad
  • 1,461
  • 1
  • 9
  • 19
-1
votes
1 answer

C++ check if string is beginning of an english word

I've found a couple answers for how to check if a string is a full word, but nothing for how to check if a string is the first part of a word. For example, I need a function that will return true for "c", "b", "cong" (congratulations, congruent,…
elliott
  • 9
  • 2
-2
votes
1 answer

Get position of word in Boggle

I'm solving 4 *4 boggle in Android using this piece of code. It's working well but I'm trying to get position of found word in it. | A | C | E | X | ----------------- | X | X | X | X | ----------------- | X | X | X | X | ----------------- | X | B |…
Lazy
  • 1,807
  • 4
  • 29
  • 49
-2
votes
1 answer

How to find all possible words that can be created from a list of letters

I have a list of letters and I'm trying to find all the possible words that can be created with those letters. I haven't found any implementations in objective-c or something close to it. What I have found is a nice Boggle solver, which is good, but…
μ4ρκ05
  • 585
  • 2
  • 5
  • 16
-3
votes
2 answers

Optimize boggle algorithm

I'm implementing the following boggle algorithm: I want to optimize it because it takes about 2 minutes and a half to find all words. Do you have any ideas on optimization techniques?
Asdwq Qwksf
  • 141
  • 1
  • 2
  • 11
-3
votes
1 answer

How to call a non-static member function within its own class in C++

I am building a class Boggle in C++. In the Boggle class, I have declared a structure type called boardIndex: struct Boggle::boardIndex { int row, col; }; And a callback function to compare two "boardIndex"s: int Boggle::CmpByIndex(boardIndex…
whitehall
  • 77
  • 8
1 2 3 4 5
6