How to separate a string with spaces and randomly pick a combonation of letters to make a word?
Im making a Genetic Algorithm which is a way to train AI. It is based off of natural selection(survival of the fittest) and im doing a thing where it learns to guess a string so thats why i need this.
heres the characters
var characters = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM "
edit: i also need it to include the character "space" or better known as " "