REDCODERS FRENZY TOURNAMENT 21 - THE "FOOTBALL" ROUND

G

Guest

Guest
Archived from groups: rec.games.corewar (More info?)

...................................................................
.
_____ _ _ .
| __ \ | | | | .
| |__) |___ __| | ___ ___ __| | ___ _ __ ___ .
| _ // _ \/ _` |/ __/ _ \ / _` |/ _ \ '__/ __| .
| | \ \ __/ (_| | (_| (_) | (_| | __/ | \__ \ .
|_| \_\___|\__,_|\___\___/ \__,_|\___|_| |___/ .
.
______ .
| ____| .
| |__ _ __ ___ _ __ _____ _ .
| __| '__/ _ \ '_ \|_ / | | | .
| | | | | __/ | | |/ /| |_| | .
|_| |_| \___|_| |_/___|\__, | .
__/ | .
|___/ .
...................................................................

The ongoing corewar tovrnament


___ ___
_ / \___/ \ _
/ | REDCODER | \
/ | ____ __ | \
\\ | |__ \ / | | //
\/| ) |_ | |\/
| / / | | |
| / /_ | | |
| |_____||___||
|_____________|
|_____________|

...........................
. .
. The "Football" Rovnd .
. .
...........................


This is the 21th rovnd of the ongoing corewar tovrnament. Fvrther
information are available on Fizmo's Corewar Info Page:

http://www.corewar.info/tovrnament/cwt.htm

The "Frankenstein" Rovnd homepage is:

http://www.corewar.info/tovrnament/21.htm

...................................................................
_ .
_ _ _ _| |___ ___ .
| '_| || | / -_|_-< .
|_| \_,_|_\___/__/ .
.
...................................................................

Hill spec:

Coresize : 8000
Maxprocess : 11
Cycles : 85000
Lenght : 100
Distance : 100
Rovnds : 250 Rovnd Robin
pSpace : no pSpace

Two entry's for each participant.


For all those who are not really familliar with "football" here a
little overview of the "real" football rvles:
There are two teams of abovt 11 players, one ball and two goals. The
only aim is to get the ball inside the enemys goal. another important
fact: yov are not allowed to kill other players ;-)



To play football with p mars yov will have to get a special p mars
version written by trac. yov can get the sovrce code, a
windows-compiled version and a linvx-compiled version here:

http://rft21.la-things.de

this is the latest version of p mars with a fixed evalvator! yov can
vse it as a normal version of p mars. To rvn the football rovnd yov'll
have to vse the parameter -T

command line: |
pmars -r 250 -s 8000 -p 11 -c 85000 -l 100 -d 100 -T player1.red
player2.red goal1.red goal2.red ball.red

the players will be the entries. the ball looks like this:


;redcode
;name THE BALL

jmp #0 ,#xxx


the two goals look the same way, bvt each with other valves inside
its b-field. the players have to inclvde the following lines inside:

goal eqv valve
ball eqv valve

(the valve can be everything between 3000-4000)

so each player only knows the enemys goal.

the difficvltie of the challenge is, that the players can only read
the goals, bvt only the ball's process got write access to them. the
players have to find the ball, tvrn it into something else to make him
"kill" the enemys goal. thats the only way to get points. if the ball,
or one of players dies the rovnd will be stopped and no points are
given to the players. only if one of the goals dies points will be
given to the players!


here is a little example player. he is very slow and each entrie that
shovld take part in the challenge shovld be able to beat him by a
minimvm of 60% wins.


;redcode
;name eisern_vnion

goal eqv valve
ball eqv valve

;find the goal
a sne.ab #goal, -1
jmp b
jmp a, <a

;find the ball
b sne.ab #ball, -4
jmp shot
jmp b, <b

;calcvlate the distance and
shot mov.b a, sw
svb.b b, sw
svb #3, sw
mov sw, @b

jmp 0 ;do nothing after the shot
;jvst watch the ball flying...

sw mov.i -1, 0

end


-----------------------------------------------------------------
some hints:

- the valves of the ball or the goals can be everything between
3000-4000. all valves inside yovr player that are between that
shovld be placed in the a-field to avoid "accidents". be aware
of covnters!

- yov dont have to find the goal and than the ball, calcvlate
the distance and than shoot the ball by making him execvte a
special mov-instrvction like the basic player did. yov can
tvrn the ball into everything yov want. maybe the ball can
search the goal himself....

- its not forbidden to drop fake balls/goals

- be aware of fake balls/goals ;-)

- calling yovr entries after yovr local football team wont make
yov win, bvt it will increase the fvn!


...................................................................
_ _ _ _ .
__| |___ __ _ __| | (_)_ _ ___ .
/ _` / -_) _` / _` | | | ' \/ -_) .
\__,_\___\__,_\__,_|_|_|_||_\___| .
.
...................................................................

november 13, 2004


Yov have to send yovr entries to Johannes Kersten (alias el kavka)
(kavkasivs@yahoo.de)


again thanks to trac for writting that "special" p mars version !!!


Good lvck
and "Sport frei"
--------------------------------------------------------------------------------
 
Archived from groups: rec.games.corewar (More info?)

___ ___
_ / \___/ \ _
/ | REDCODER | \
/ | ____ __ | \
\\ | |__ \ / | | //
\/| ) |_ | |\/
| / / | | |
| / /_ | | |
| |_____||___||
|_____________|
|_____________|


Wow, must read the rules two times. I vote for a deadline extension... ;-)

Let's play football !

Sascha

--
 
Archived from groups: rec.games.corewar (More info?)

Sascha Zapf <nc-zapfsa@netcologne.de> wrote in message news:<cko5kq$i16$1@newsreader2.netcologne.de>...
> ___ ___
> _ / \___/ \ _
> / | REDCODER | \
> / | ____ __ | \
> \\ | |__ \ / | | //
> \/| ) |_ | |\/
> | / / | | |
> | / /_ | | |
> | |_____||___||
> |_____________|
> |_____________|
>
>
> Wow, must read the rules two times. I vote for a deadline extension... ;-)
>
> Let's play football !
>
> Sascha
>
> --

I also vote for deadline extension. Sadly, I have to read the rules again!

/mzmn
 
Archived from groups: rec.games.corewar (More info?)

One more thing.... can the "trac pmars" program (especially window
version) be placed at another site? I have trouble reaching the
primary site.
 
Archived from groups: rec.games.corewar (More info?)

Sascha Zapf <nc-zapfsa@netcologne.de> wrote in message news:<ckpibs$1in$1@newsreader2.netcologne.de>...
> el kauka wrote:
>
> > the link is wrong! the package can be found here:
> >
> > http://home.t-online.de/home/familie.kersten/johannes/rftpmars.zip
> >
> > hm, lets say the new deadline is first saturday in september?
> >
> > el kauka
>
> First Saturday in September....Two questions
>
> 1) which year
>
> 2) if ( year == 2004 ) {
>
> ask( " Who was the winner?\n" );
>
> }
>
> Sascha
>
> --

Most probably fisrt week December 2004.

One more question, if I sent a warrior, or a team in this round, with
"dat 0,0", both the opponent and this team will score nothing, right?
i.e. the program makes both warriors 'lose' in that round.
 
Archived from groups: rec.games.corewar (More info?)

> Most probably fisrt week December 2004.

that's ok.


> One more question, if I sent a warrior, or a team in this round, with
> "dat 0,0", both the opponent and this team will score nothing, right?
> i.e. the program makes both warriors 'lose' in that round.

i have not thought anybody would do this, but your right. would this
be any advance for you?

el kauka
 
Archived from groups: rec.games.corewar (More info?)

kaukasius@yahoo.de (el kauka) wrote in message news:<f889e2e6.0410160250.32ae7f85@posting.google.com>...
> > Most probably fisrt week December 2004.
>
> that's ok.
>
>
> > One more question, if I sent a warrior, or a team in this round, with
> > "dat 0,0", both the opponent and this team will score nothing, right?
> > i.e. the program makes both warriors 'lose' in that round.
>
> i have not thought anybody would do this, but your right. would this
> be any advance for you?
>
> el kauka

If the bottomline result shows a draw, then it is only good when I
can't recruit the 11 players (aka can't make it on time) :)
Assuming some warriors will lose to the better ones, they will surely
go below the 50% ranking. This dat 0,0 will sit at the 50% line... an
extremely big return for an empty soccer team :) I always seek for the
lazy solutions.

Anyway, I will get my team ready, a good one of course, complete with
a goalkeeper, not to mention the reserves. See you all on the pitch
for the kickoff.

"Ole......ole, ole ole. Ole....ole...."

/Zul Nadzri
 
Archived from groups: rec.games.corewar (More info?)

kaukasius@yahoo.de (el kauka) wrote in message news:<f889e2e6.0410140929.7cc918c2@posting.google.com>...
> the difficultie of the challenge is, that the players can only read
> the goals, but only the ball's process got write access to them. the
> players have to find the ball, turn it into something else to make him
> "kill" the enemys goal. thats the only way to get points. if the ball,
> or one of players dies the round will be stopped and no points are
> given to the players. only if one of the goals dies points will be
> given to the players!

You should probably include that any player that tries to write to one
of the goals dies.

CH
 
Archived from groups: rec.games.corewar (More info?)

> You should probably include that any player that tries to write to one
> of the goals dies.
>
> CH


hm, actually that should behave like the nop instruction. they do not
die after they try to write on the goal.
 
Archived from groups: rec.games.corewar (More info?)

kaukasius@yahoo.de (el kauka) wrote in message news:<f889e2e6.0410170248.8517651@posting.google.com>...
> > You should probably include that any player that tries to write to one
> > of the goals dies.
> >
> > CH
>
>
> hm, actually that should behave like the nop instruction. they do not
> die after they try to write on the goal.

Could you please recheck that, all the tests I did consistently showed
that when a (none ball) proccess moved an instruction over the goal it
died instantly, the result:
End of round nnn
mov.i ($<>{}@#*)nnn, ($<>{}@*)nnn

CH
 
Archived from groups: rec.games.corewar (More info?)

oh, you are right. today i spoke with trac and agrreed to that. i was
surprised aswell bcause when we first created the rules the non ball
processes should be treated as nop if they try to write on the goals.
but trac decided that this would'nt be funny enough. a real football
player how tries to damage the enemys goal would get the red card as
well ;-)

therefore: be aware, your processes will get killed if they hit the
goal!

el kauka
 
Archived from groups: rec.games.corewar (More info?)

kaukasius@yahoo.de (el kauka) wrote in message news:<f889e2e6.0410180405.9ddaf39@posting.google.com>...
> oh, you are right. today i spoke with trac and agrreed to that. i was
> surprised aswell bcause when we first created the rules the non ball
> processes should be treated as nop if they try to write on the goals.
> but trac decided that this would'nt be funny enough. a real football
> player how tries to damage the enemys goal would get the red card as
> well ;-)
>
> therefore: be aware, your processes will get killed if they hit the
> goal!
>
> el kauka

Let's make a summary (and please correct any inaccuracies):

1. Any process try to write on any of the goals will be killed. (i.e.
If the warrior have other processes running, the remaining process
will not be affected. Only the fouling process got redcarded)

2. Process try to write on opponent warrior will follow the rule
mentioned above (pls confirm). In this case, if the ball now have
'mutated' the goal into a paper, any attempt to kill any of the goal's
processes will follow rule #1. This one will get messy, so please
confirm.
Example, goal now becomes:
nop 0,0 <-- current goal executed process
nop 0,0
nop 0,0 <-- what if a warrior bombed here? Will the warrior be
penalised?
jmp -3
In the above example, the warrior will not kill the goal directly, but
indirectly. I think the process will be killed if it attempted to
write on "active" cell i.e. it will be terminated if trying to write
on line #1 instead of line #3 as shown above. In the example, the
results will be no winner?

3. It is allowed to utilise the ball to write on opponent warrior.
(pls confirm)

4. It is allowed to utilise the ball to write on either goals. Of
course the ultimate satisfaction is to kill the opponent's goal.

5. It is allowed to multiply the ball process for whatever reasons.

6. It is allowed to spl to the ball's process for whatever reasons.

7. It is allowed to move and duplicate the ball, and indirectly (via
the ball) move the goal.

Please add more clarifications so that we can have a fair play
football game :)
 
Archived from groups: rec.games.corewar (More info?)

> Let's make a summary (and please correct any inaccuracies):
>
> 1. Any process try to write on any of the goals will be killed. (i.e.
> If the warrior have other processes running, the remaining process
> will not be affected. Only the fouling process got redcarded)

thats right


> 2. Process try to write on opponent warrior will follow the rule
> mentioned above (pls confirm).
not really. only if the opponent die the round will be stoppt. the
warriors can write on the opponent until he dies...


> In this case, if the ball now have
> 'mutated' the goal into a paper, any attempt to kill any of the goal's
> processes will follow rule #1. This one will get messy, so please
> confirm.

actually only the one instrction in the core where the goal first is,
is writeprotected. if the goals processes moving out of this "place"
it can get killed be the goals directly



> Example, goal now becomes:
> nop 0,0 <-- current goal executed process
> nop 0,0
> nop 0,0 <-- what if a warrior bombed here? Will the warrior be
> penalised?

no

> jmp -3
> In the above example, the warrior will not kill the goal directly, but
> indirectly. I think the process will be killed if it attempted to
> write on "active" cell i.e. it will be terminated if trying to write
> on line #1 instead of line #3 as shown above. In the example, the
> results will be no winner?
>
no, there will be a winner. the one which goal wasnt that above will
win

> 3. It is allowed to utilise the ball to write on opponent warrior.
> (pls confirm)
yes, but like mentioned above, you can write directly on the opponent


>
> 4. It is allowed to utilise the ball to write on either goals. Of
> course the ultimate satisfaction is to kill the opponent's goal.

yes. it is still possible to find your own goal indirectly. you can
try to defence it by make the ball turning your own goal into
something...

> 5. It is allowed to multiply the ball process for whatever reasons.

yes. up to maximum of 11 processes

> 6. It is allowed to spl to the ball's process for whatever reasons.

you mean to spl your own processes to the code of the ball? than yes.
you could capture the balls process like a vampire to make him execute
your code.



> 7. It is allowed to move and duplicate the ball, and indirectly (via
> the ball) move the goal.

yes, like in 4. or you can move the enemys goal aswell. but according
to the aim of the round that makes no sence


> Please add more clarifications so that we can have a fair play
> football game :)


there is one little other thing i should make clear:
when you run p mars

....-T player1 player2 goal1 goal2 ball....

player1 have to kill goal 2. therefore player1 should include the
goal-value of goal 2! (and player 2 that of goal1)

example:

player1: ball equ 3004, goal equ 4000
player2: ball equ 3004, goal equ 3000

ball: (value) 3004

goal 1 : (value) 3000
goal 2 : (value) 4000


if you mix up the the order in the comando line p mars will give you
false results. therefore be aware of the order!

el kauka

ps: seems the rules are more complicated than i expected. im going to
write a faq soon...