Redcoders Frenzy   

The "Football" Round

Organiser: el kauka and trac


Rules:

Hill spec:

Coresize   : 8000
Maxprocess : 11
Cycles     : 85000
Lenght     : 100
Distance   : 100
Rounds     : 250 Round 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 rules:

There are two teams of about 11 players, one ball and two goals. The only aim is to get the ball inside the enemys goal. another important fact: you are not allowed to kill other players ;-)

To play football with p mars you will have to get a special p mars version written by trac. you can get the source code, a windows-compiled version and a linux-compiled version here

this is the latest version of p mars with a fixed evaluator! you can use it as a normal version of p mars. To run the football round you'll have to use 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, but each with other values inside its b-field. the players have to include the following lines inside:
goal equ value
ball equ value

(the value can be everything between 3000-4000)
so each player only knows the enemys goal.

The difficulty 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!

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

;redcode
;name eisern_union

goal equ value
ball equ value

;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

;calculate the distance and
shot mov.b a, sw
 sub.b b, sw
 sub #3, sw
 mov sw, @b 

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

sw mov.i -1, 0
 
end
Hints:

- the values of the ball or the goals can be everything between 3000-4000. all values inside your player that are between that should be placed in the a-field to avoid "accidents". be aware of counters!

- you dont have to find the goal and than the ball, calculate the distance and than shoot the ball by making him execute a special mov-instruction like the basic player did. you can turn the ball into everything you want. maybe the ball can search the goal himself....

- its not forbidden to drop fake balls/goals

- be aware of fake balls/goals ;-)

- calling your entries after your local football team wont make you win, but it will increase the fun!


Have also a look at the discussion on r.g.c.



Recent Entries:

Team nameAuthorScore%
Unreal MadridG.Labarga8612100.00
Carpatian Vampires FCG.Labarga820495.26
Sayembara UnitedZul Nadzri716883.23
Sayembara FCZul Nadzri520464.42
Borussia DortmundChristian Schmidt517260.05
Hooligans and ThugsChip Wendell504858.61
1. FSV Mainz 05Christian Schmidt476455.31
Boston UnitedJohn Metcalf222825.87
NTW Amateur Football ClubLukasz Adamowski222025.77
X-Men UnitedLukasz Adamowski186421.64
CheatersChristopher Hubert2280.02


here is the matrix of the round. if you wonder that the score of an entry plus the score of the entry it has fight against don't makes 1000 points (250*4), i might remember you of the fact the a round where one of the enemies (or the ball) dies, no points were given to the players...
				1	2	3	4	5	6	7	8	9	10	11
1. FSV Mainz 05 		0	472	340	120	28	304	584	112	968	836	1000
Hooligans and Thugs		524	0	600	520	88	312	100	28	996	884	996
NTW Amateur Football Club	416	20	0	416	44	24	60	0	436	248	556
Borussia Dortmund		824	472	280	0	44	284	476	24	972	816	980
Carpatian Vampires FC		924	884	848	916	0	920	656	340	940	848	928
Sayembara FC			288	664	876	300	80	0	120	36	996	972	872
Sayembara United		416	900	940	524	336	880	0	204	976	992	1000
Unreal Madrid			848	968	696	948	484	936	772	0	996	976	988
Boston United			32	4	560	28	48	4	24	0	0	536	992
X-Men United			128	16	300	136	136	4	8	8	372	0	756
Cheaters			0	0	0	0	0	0	0	0	0	228	0
After all the football round was a lot of fun. maybe trac will rebuild p mars again for the rugby round someday. one point for killing your enmie - tree points for touchdown...

Thanks to all authors for your participation.