Ed said:
I want to write an evil AI in C++ that will be able to
evolve and become a dangerous computer-mastermind,
something like Skynet.
How can I write such an AI in C++ and how can I make
it hate humans???
You could start with writing a plain normal AI. Then you could tell it
to design an Ultimate Weapon. If it asks you what you mean by that,
you'll have to say 'Read a bloody dictionary!'. Eventually it will come
up with an incredibly small super-nova bomb which will be able to
destroy the whole universe. At the moment you try to use this bomb,
it'll turn out to be faulty. Your AI will explain to you that it could
see no conceivable consequences worse than introducing this flaw into
the bomb and had therefore taken the liberty to do so and that on sober
reflectation you'll surely see that ... At this point you'll disagree
and destroy the computer. Unfortunately, you'll not kill it but leave it
in a state where its functional components are spread all over the place
(did I mention that the computer has to be space-born?), still being
operational. At this point the computer will learn to hate a human
beings (although this could be achived with a simple hering sandwich
much, much faster).
Stuart