I’m making a hangman game, so I need a random word generator. My goal is for the user to say how many letters they want in the word and to output a random word with that many letters. I would like to use the dictionary that’s supposed to be available in iOS 5. Learn from this link
How can I do this? Does anybody have some advice on a random word generator – preferably using a dictionary.
I don’t want just a random text generator, I want them to be actual english words.
Check out Lexicontext, which has dictionary definitions for many words, and has a simple API for generating a random word:
From there, you can use the rest of the API to get definitions and such from it.
Disclaimer: I have no affiliation with Lexicontext other than being a happy customer.