Hello, I am trying to build a hangman game in 3dfa & things are going ok but very slow. I have the words coming up randomly when new game button is pushed but only the indexes (integers). How do I turn the index back into the word it represents? The below code works but I can't seem to find any help on changing from integer back to a string. Any help appreciated, Chris.


//generate the words for game
game_words = new Array("dog","said","town","word","happy","youth"," health","baker","computer","school","keys","table" ,"family","bike","horse","question")

//make the word indexes random
game_words = random(16)


//show the random indexes in txt4
txt4 = game_words