World Generations? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

World Generations?

Hello people i need help badly with this one im using Unity3d and C# to make a 2D game. In the menu when you tyoe in a world name i wang a random world to be generated i dont know how though

22nd Feb 2017, 4:14 AM
Michael Santos
Michael Santos - avatar
1 Resposta
0
Does the word should have sense? If not, you can just make a "word" by creating a string with random chars. Or, to make it more readable, for ex. make odd letters vowel and even letters - consonant. As variant you can use some kind of vocabulary with list of syllables. For ex there are: "wo,de,am,set". And the output gonna be like Deam, Setde, Woam and so on...
22nd Feb 2017, 8:45 AM
Art Stesh
Art Stesh - avatar