Possible to write adaptive programs?
Hi, this is such a wierd topic I don't even know if its possible. I was thinking about writing a program in C to block a user input based on what has been put in before, you know for fun, like you do :). IE you can input a number between 1 and 9 and the computer tries to block it.
I then wonderd if it would be possible to incoperate some genetic algorithm to make the program adaptive, constantly try to find a smart way to block it.
I making sense here?
A computer would easily block all if I just put 1,2,1,2,1,2,1,2,1,2 etc
A computer however would never block them if I put in increasing values of x squared 1,4,9,16,25. You reckon a GA would be any more adept at figuring out this problem?
Thanks for any thoughts, just curious one day at work about this (I work as a paint chemist and its boring stuff)
Re: Possible to write adaptive programs?
Why would it not be able to figure out the sequence of squares? They do follow a strictly defined and simple pattern, it should be able to get them after a few values.
Originally posted by crag2804
A computer however would never block them if I put in increasing values of x squared 1,4,9,16,25.