What your trying to say is still being expressed in an entirely unintelligible manner....For example:
"I have been playing a game with a enemy that it try's a plan and it doesn't work it changes the plan."
"now if the system can react in a way that changes itself it again does not need to feel or even be conscious."
"yes a conscious mind needs stimuli such as the sensation of touch or pain to react by why is there a conscious mind?"
I'm going to guess on these, but I'm really not sure:
"I have been playing a game with a[n] enemy[,] [in which] it try's a plan and [if that plan] doesn't work[,] it changes the plan."
"[even] if the system can react in a way that changes itself[,] it again[,] does not need to feel or even be conscious."
""yes[,] a conscious mind needs stimuli such as the sensation of touch or pain to react[, but why do we arbitrarily assign this as] a conscious mind?""
I think your problem stems from your concept of conscious, but again, I'm really lost as to what your saying....
I guess I can try to respond though....
If a system has the equivalent functions of a sensory organ we currently recognize to feel pain, it can feel pain. If you use the overgeneralized and oversimplified term "chemical reaction", we can only assume that its a system that does not have the complexity to feel what we consider pain.
And from the immortal words of PZ Meyers "You can have an entirely natural biology that is subject to investigation by science that is not some kind of clockwork, predestined sequence of events. I decide what to put on my sandwich, but "I" is an unpredictable product of very complex neurological activity, colored by history over a baseline of biological predispositions."