First, since you posted the question at all, it means you would
probably enjoy playing Corewars. Even if what you have in mind didn't
lead to any successful warriors, similar things would.
Cristian210273 wrote:
> >
> > You probably already know that Redcode is Turing complete,
> >
> Dave, please help me! What does this mean?
I'll say it a different way. Warriors are written in an
assembly-like language called 'Redcode.' It is a complete language, so
pretty much anything you can write in a "normal" computer language, you
can write in Redcode (somehow...).
> (Sorry if this question sounds silly...)
You are not asking silly questions. For general questions, the
best way to answer is the way SimFlyer did: encourage reading the docs.
More specific questions tend to get more satisfying answers.
> > Whether one of these techniques
> > can be fast and compact enough for a warrior is the answer to a more
> > detailed question: what kind of neural net? on-line training?, etc.
> > My suggestion is to look at P-space warriors and see if you find
> > something that interests you.
> >
> Yes, my idea was to find an AI tecnique compact enough to be
> coded in a warrior (I was thinking at fuzzy logic: a membership
> function should not be so heavy in terms of number of lines
> of code....). I will take a lokk at P-space: can you point me to
> a reference?
> Thanks!
A good way to start is to go to
http://koth.org/ look there,
scroll down to the Corewars Web Ring and look at the many guides you
will find on the various sites.
You'll see info on P-Space. It isn't the first thing to learn but
I will say a little about it. When 2 warriors compete, they fight a
sequence of battles. Each battle starts with the warriors in a clean
core (memory space) which they then mess up while trying to kill each
other.
P-Space is persistent memory each warrior has that only they can
read or write into, so they can pass information to themselves from one
battle to the next. One way to use this memory is a p-switcher. For
instance, a warrior might play one strategy during one battle, if it
wins it tries it again, if it loses it tries something else next
battle. More elaborate strategies are often encoded into finite state
tables. Your fuzzy rules might fit in for something like this.
I said that the other warrior can't write into your warrior's
P-Space. But it might trick your own warrior into writing harmful
information into it. That's called "brain washing."
Happy reading!
Dave Hillis
>> Stay informed about: AI warrior.