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

Getting empty length

This function is where I insert the node along with its data to the linked list. void insertNodeAndWord(struct ListNode ** pointerToHead, char word[16]) { struct ListNode * newNode = (struct ListNode *)malloc(sizeof(struct ListNode)); …
somnia06
  • 11
  • 5
0
votes
1 answer

What is the fastest way to match string prefixes for the building of a Radix search tree?

Full disclosure this is for an assignment in an algorithms class, but I'm not looking for someone to write any code for me or hold my hand. Anyways we have to do the Boggle game. For those unaware, basically you are given a Boggle board and have to…
user3107774
  • 101
  • 1
  • 5
0
votes
2 answers

java timer on current instance

import java.util.Scanner; import java.util.Timer; import java.util.TimerTask; public class Boggle { Board board; Player player; Timer timer; boolean active; static Scanner in = new Scanner(System.in); public Boggle() { …
hspim
  • 47
  • 1
  • 2
  • 8
0
votes
1 answer

Boggle game Implementation is not able to get all the words

I read the board into a vector of char vector B is the 4x4 board Read the 'sorted' dictionary into a vector of strings I scan through the 4x4 board, call fillGoodWoods function for every individual cell. int main(int argc, char *argv[]) { …
0
votes
1 answer

Implementing a timer in boggle game Python

I'm trying to implement a 60 second timer for a boggle game, in which when the timer hits 0, the user cannot enter any more words. Right now I'm using a counter to limit the amount of words entered (which is set to twenty), I want to change this to…
YashMorar
  • 7
  • 3
0
votes
2 answers

Boggle game - putting randomly selected letters from an array of 16 arrays in a 4x4 grid (Python)

So for a school project we've been asked to code a boggle game on Python (I'm using 2.7.3), and I've come to a dilemma. I'm trying to get my randomly selected letters from an array of 16 hypothetical "cubes" to appear in a 4x4 format (so that there…
YashMorar
  • 7
  • 3
0
votes
3 answers

Java code running fine in Java environment but throws error in Android environment

I am trying to develop a game in android that solves the boggle. At this stage i have hard-coded the 4x4 array values. It has an activity and 2 java helper class. The problem is that when i run the java helper classes in console mode it solves the…
mbk
  • 41
  • 4
0
votes
0 answers

Should Model subclasses only be used for storing data?

I know that subclasses can implement (almost) any additional methods, but is that 'proper' practice in regards to ndb/db.Model sublcasses? For example, I'm developing a Boggle game (for practice - not because I feel there's a shortage), and I'd like…
yts
  • 1,890
  • 1
  • 14
  • 24
0
votes
1 answer

Reading a text file of dictionary ? Is it a good canditate for lazy init?

I am coding a boggle solver for which I need to populate a dictionary. My approach is the do a static initialization something like: private static final Set dictionayKeys = DictionaryReader.populateDictionaryWords("/../dictionary.text); To…
JavaDeveloper
  • 5,320
  • 16
  • 79
  • 132
0
votes
2 answers

How to generate board for game like boggle

There are many Boggle like games on Google Play, Apple Store and Facebook platform. How do I generate a playable board like those games?
Kirill Trofimov
  • 1,218
  • 1
  • 14
  • 26
0
votes
1 answer

Boggle game loop logic

I'm writing a console Boggle game and the gameLoop logic isn't quite what I think it should be. My basic game loop method is: public void gameStart() { timer.schedule(new BoggleTimerTask(1),0); gameActive = true; …
Jeff D
  • 1
  • 3
0
votes
1 answer

Debug recursive method for finding if a word exists in a boggle board

I'm trying to implement a boggle solver. My basic idea was to create a method that would check a word to see if it was on the board. then trim my dictionary by getting rid of words that start with char's not on the board, then apply that method to…
gadu
  • 1,816
  • 1
  • 17
  • 31
0
votes
1 answer

Set a time limit for a java Boggle game

I have written code that solves a boggle board and now I want to convert it into my own game. I have everything I need except I cannot figure out how to set a time limit so the person can only enter words in for a 2 minutes. This is what I have so…
Louis B
  • 342
  • 1
  • 5
  • 21
0
votes
1 answer

where is mistake ? php letter matrix boggle

I find theese php codes here, but codes aren't working correctly. it seems that the if(isset($words[$word])) doesn't go through as I always get an empty results array $boggle = "fxie amlo ewbx astu"; $alphabet =…
0
votes
1 answer

keep going out of bounds in my recursive method to navigate and find all combinations of letters in a 4X4 matrix

This is part of a Boggle solver. I made a recursive method to traverse through a string matrix. MyLetteres has all the chars stored (ex. a, b, c...), MyLetteres1 is initialized as empty, and tracker is to false. These variables mark which…
Louis B
  • 342
  • 1
  • 5
  • 21