Computer Science Canada 2D Arrays in Hangman |
Author: | crush_soda [ Sat Nov 12, 2011 7:06 pm ] |
Post subject: | 2D Arrays in Hangman |
Hey, so I'm trying to make a Hangman game and I wanted to use a 2D array. The user will be able to pick a category out of 5 options. For each category , 10 words words will be featured. Basically, I'm trying to make a 10 by 5 array that will feature 10 words from each of the 5 categories (fruits, countries, music genres, sports, and colors. The user will be asked to pick a topic from which the computer will randomly pick a word. I'm not sure if I'm doing it right or not, all help will be appreciated! Thanks! |
Author: | crush_soda [ Sat Nov 12, 2011 8:28 pm ] |
Post subject: | Re: 2D Arrays in Hangman |
please? |
Author: | Aange10 [ Sat Nov 12, 2011 8:32 pm ] |
Post subject: | RE:2D Arrays in Hangman |
What is it exactly you don't understand? |
Author: | crush_soda [ Sat Nov 12, 2011 8:37 pm ] |
Post subject: | Re: RE:2D Arrays in Hangman |
Aange10 @ Sat Nov 12, 2011 8:32 pm wrote: What is it exactly you don't understand?
i don't understand what a 2D array is so i want to know if im doing it right, or if im doing something completely different ![]() ![]() |
Author: | Aange10 [ Sat Nov 12, 2011 8:39 pm ] |
Post subject: | Re: RE:2D Arrays in Hangman |
crush_soda @ 12/11/2011, 7:37 pm wrote: i don't understand what a 2D array is Then you might want to look it up. http://compsci.ca/v3/viewtopic.php?t=14333 |