Posted: 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!