Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 236 results for
boggle
- Page 1
Boggle
Programming
Software Development
15 Years Ago
by sfurlow2
… project due in which we are supposed to create a
boggle
board. We are supposed to read in a file with… the
boggle
dice (basically just sixteen lines of six random letters), then…
Boggle - Player recursive backtracking need help.
Programming
Software Development
14 Years Ago
by Brucesharky
…. I need some help with my recursive backtracking function for
boggle
. I don't know what the bug is. The board… length." << endl; } else // if word not in
boggle
{ cout<< "You can't make that word…
Re: Boggle
Programming
Software Development
15 Years Ago
by jonsca
I'd put it in a 2D array. That way you can iterate over the rows and pick a random die face from each to face "up". Making your swaps with 16 different arrays could turn into a nightmare. I don't have too much to add besides that. Sounds like a neat (and doable) project! Definitely post back if you have any further questions about it…
Re: Boggle
Programming
Software Development
15 Years Ago
by hag++
I agree with jonsca, use a 2D array. The rest is all up to you and VERY customizable. Depending on how crazy your prof is.... you could step through the array and randomize each dice using rand() generator limited by the amount of letters in alphabet.
Re: Boggle
Programming
Software Development
15 Years Ago
by sfurlow2
So, I'm working on function to output to the screen. I read the dice into a 2d array. I'm trying to arrange the output into a 4x4 grid of letters. Each letter must be randomly chosen from one of the six letters on one of the sixteen dice. Everytime I compile and run it, most of the data is correct, however sometimes I get a letter which doesn't …
Re: Boggle
Programming
Software Development
15 Years Ago
by jonsca
rand() % 7 is going to get you numbers between 0 and 6 which will overstep the bounds of your array by 1 if a 6 is pulled. I'm confused why you broke up the loop like you did?
Re: Boggle
Programming
Software Development
15 Years Ago
by hag++
[QUOTE=jonsca;1107855]rand() % 7 is going to get you numbers between 0 and 6 which will overstep the bounds of your array by 1 if a 6 is pulled. I'm confused why you broke up the loop like you did?[/QUOTE] That is correct, if you use rand() % 6 + 1 you will be good. Also, when you define a function: [CODE]void printScreen(char dice[16][6])[/…
Re: Boggle
Programming
Software Development
15 Years Ago
by jonsca
[quote] That is correct, if you use rand() % 6 + 1 you will be good. Also, when you define a function: [/quote] Yes, to get numbers from 1 to 6 that is what you would do, but he's stored them in array (zero based) so you don't need the +1.
Re: Boggle
Programming
Software Development
15 Years Ago
by sfurlow2
Thanks for all your help, but I have one more question then my project should be complete, I just have to tidy it up a bit. The last thing that I'm having trouble with is pretty small. Whenever the letter Q is "face up" on the board, we're supposed to output "Qu". Since the dice are stored in a two dimensional character array, …
Re: Boggle
Programming
Software Development
15 Years Ago
by jonsca
How do you display your other characters? I would just output the actual 'Q' on the die and add the extra character as if you were adding the next actual letter. e.g., [code] cout <<dice[i][j]; if(dice[i][j] == 'Q') cout<<'u'; [/code]
Re: Boggle
Programming
Software Development
15 Years Ago
by dusktreader
I know the solution to the random reordering has already been handled, but here is a solution that I find more mathematically satisfying. 1. Assign each die a random x, y coordinate a. The coordinates should be real numbers (i.e. doubles ) b. If you prefer integers, then the range of possible values for each dimension should be …
Re: Boggle
Programming
Software Development
15 Years Ago
by sfurlow2
Thanks for all your help. My program is done.
Re: Boggle
Programming
Software Development
15 Years Ago
by sfurlow2
That's an interesting concept by the way duskTreader. I can't exactly try it out now; my program finally works and it's due in four hours so I don't really want to mess with it lol. I might come back to it later though and try it out. Thanks.
Re: Yet another boggle word game
Programming
Software Development
14 Years Ago
by TrustyTony
…() wantquit = False while wantquit != 'q':
boggle
='' while not
boggle
:
boggle
=raw_input('Give your
boggle
:').lower() ## CATXANTXTREEEBXY dimension=int(len(
boggle
)**0.5) if dimension**2…
Challenge problem: Boggle Solver
Programming
Software Development
13 Years Ago
by mrnutty
… the [URL="http://en.wikipedia.org/wiki/
Boggle
"]wiki[/URL] for
boggle
. You job is to create a program that… generates all possible words that can be constructed given the
boggle
board and a dictionary. A word has to be of…
Making a 4x4 Boggle board using a dictionary help please
Programming
Software Development
12 Years Ago
by Carc369
Basically my assignment is create the best
Boggle
board. Basically so far I've successfully created …Now I have to implement that frequency percentage into my
boggle
board... and that is where I am totally stuck.…)); //seeds random number /*adding asterisks manually around the
boggle
board in order to search for words around the edge…
Re: Challenge problem: Boggle Solver
Programming
Software Development
13 Years Ago
by mrnutty
… out all possible words that can be created by the
boggle
board. Note the word has to be of length 3…
Word Boggle Game Complete
Programming
Software Development
18 Years Ago
by Killer_Typo
This is a simple little word
boggle
game for those of you that would like to see …
File under boggle: how safe is Internet Explorer your Lordship?
Hardware and Software
Microsoft Windows
15 Years Ago
by happygeek
…[/URL] in the Lords Hansard, comes with a bloody huge
BOGGLE
warning: [QUOTE]"Complex software will always have vulnerabilities and…
Yet another boggle word game
Programming
Software Development
14 Years Ago
by TrustyTony
Here is my practise with [URL="http://www.boggled.org/"]
boggle
[/URL]letter square non-overlapping word finder after some drastic debugging and cleaning. I think it is reasonable speed also. Comments wellcome.
Re: Similar to boggle game in c++
Programming
Software Development
6 Years Ago
by rproffitt
… of https://www.daniweb.com/programming/threads/519642/similar-to-
boggle
-game 2. I see poor code formatting. Why all those… full design is your work. I'll also note that
Boggle
has already been done many times if you search about…
Re: Similar to boggle game
Programming
6 Years Ago
by rproffitt
… full design is your work. I'll also note that
Boggle
has already been done many times if you search about…
Re: Challenge problem: Boggle Solver
Programming
Software Development
13 Years Ago
by Labdabeta
I am working on this because it looks like fun. I am just wondering what the challenge is, implementation wise. I have a BoggleBoard class now, and a function in it called getAllMoves() this function takes an array of c-style strings and an integer array length. Should I return an array of the possible c-style strings that can be made using the …
Re: Word Boggle Game Complete
Programming
Software Development
18 Years Ago
by campkev
you load the whole file and parse through it every time someone submits a word? wouldn't it be better to load the list once when the program starts up?
Re: Word Boggle Game Complete
Programming
Software Development
18 Years Ago
by Killer_Typo
[quote=campkev]you load the whole file and parse through it every time someone submits a word? wouldn't it be better to load the list once when the program starts up?[/quote] im still working on some things, and smarter algorithms to handle letter assignments. though it may seem like a lot though, to load it each time, i have noticed no …
Re: Word Boggle Game Complete
Programming
Software Development
18 Years Ago
by iamthwee
[quote=Killer_Typo]im still working on some things, and smarter algorithms to handle letter assignments. though it may seem like a lot though, to load it each time, i have noticed no impact on game performance :D[/quote] It's ok. Pretty GUI. But where's the auto-solving mechanism. Once you start programming that things become interesting?
Re: Yet another boggle word game
Programming
Software Development
14 Years Ago
by TrustyTony
Line 7 should be [CODE] for neigh in (neighbourlist[pos] if pos is not None else range(dimension*dimension)) [/CODE] 0 is valid index of neighbour list.
Passing Dynamic D2 Arrays in functions
Programming
Software Development
14 Years Ago
by InfestedLawyer
…] template <class T> class
Boggle
{ public:
Boggle
(void); ~
Boggle
(void); int ** MyBoard; int size; int… void PrintBoard(); }; template <class T>
Boggle
<T>::
Boggle
(void) { Size = 0; Rows = 0; … Cols; } } } template <class T> void
Boggle
<T>::PrintBoard() { for (int Rows = 0; …
Re: Passing Dynamic D2 Arrays in functions
Programming
Software Development
14 Years Ago
by InfestedLawyer
…); template <class T> int**
Boggle
<T>::SizeBoard() { int Size; cout…return MyBoard; } template <class T> void
Boggle
<T>::PrintBoard(int **MyBoard) { for (int…; endl; } } int main() {
Boggle
<int>
boggle
;
boggle
.SizeBoard();
boggle
.PrintBoard(
boggle
.MyBoard); } [/CODE] (Some bits have…
Re: How to get this C program running on my computer?
Programming
Software Development
14 Years Ago
by TrustyTony
… -c -g -Wall dict.c cc -o
boggle
-g -Wall
boggle
.o dict.o tony@tony-one:/media/Ysisoft_backup/MinGW…=gcc
boggle
:
boggle
.o dict.o cc -o
boggle
-g -Wall
boggle
.o dict.o
boggle
.o:
boggle
.c cc -c -g -Wall
boggle
.c …one:/media/Ysisoft_backup/MinGW/msys/1.0/home/Veijalainen/c$
boggle
'
boggle
' ei ole tällä hetkellä asennettuna. Voit asentaa …
1
2
3
4
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC