- Home /
I made it! I finished the project alone :D
Guessing script
I want to make a guessing game for a friend's school work but i am having trouble with a AI script, to guess the player's word.
It's the following:
The player types any word he can imagine, example: "Snake". Then, the AI will try to guess the player's word. For a test scene, i want to make a AI that simply combine keys and numbers until it guess the player's word. Don't worry, i already made a system that the player will not be able to write some things. But how can i do it? Is there a tutorial or something??
Answer by Malleck666 · Jul 11, 2016 at 12:47 AM
Just to clarify, are you saying that the AI will create a random string of characters, compare to the actual word for accuracy and then guess again based on the percentage of correct characters?
Yes, exactly.
Do you know how to make this? I am not very good at scripting.
I have a few ideas on how you would achieve it but I feel you would learn much better if I ins$$anonymous$$d talked it through with you rather than handing you code.
Can you elaborate more on what you want this program to do?
I am a beginner developer, and my friend asked me if i could make a project with him to his school work. He is in a robotics class, and he asked me if i could make something that can try to guess the player's word. Basically, i will make a software that can guess words, and then he will make a "basic robot" that can work with my software. We will install it in the robot and try it. Our objective is, when someone types a word in the robot's keyboard, it try to guess it's word.