Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rugby World Cup 1991 International Usenet Pool

0 views
Skip to first unread message

an...@comp.vuw.ac.nz

unread,
Jun 23, 1991, 11:39:25 PM6/23/91
to
[Long posting]
I initially had the idea of a New Zealand wide Usenet pool for the
upcoming Rugby World Cup (Webb Ellis Trophy). With encouragement from
Alan Murray, we thought it would be nice to have an international pool
for rec.sport.rugby readers and beyond. In contrast to regular pools,
this one involves no money (as it is probably illegal in NZ) ...
simply email me the required selections. Periodically, I will post
the current odds for each team.

Instructions for what information to return is given at the end of
this posting. I have also included a small C program which should
help make sure your selections are valid, etc.

The following information is correct to the best of my knowledge but
any questions, suggestions, or corrections are welcome.

andy (an...@comp.vuw.ac.nz)
---------------------------------- cut here ----------------------------------

RUGBY WORLD CUP DRAW

Date Match Venue
---- ----- -----
Fri Oct 4 NZ vs England Twickenham
Sat Oct 5 Australia vs Argentina Llanelli
France vs Romania Beziers
Sun Oct 6 Italy vs USA Otley
Scotland vs Japan Murrayfield
Fiji vs Canada Bayonne
Mon Oct 7 Wales vs Western Samoa Cardiff Arms Park
Ireland vs Zimbabwe Lansdowne Road
Wed Oct 9 NZ vs USA Gloucester
England vs Italy Twickenham
France vs Fiji Grenoble
Thu Oct 10 Australia vs Western Samoa Pontypool
Ireland vs Japan Lansdowne Road
Scotland vs Zimbabwe Murrayfield
Canada vs Romania Toulouse
Wales vs Argentina Cardiff Arms Park
Sat Oct 12 England vs USA Twickenham
Sun Oct 13 Scotland vs Ireland Murrayfield
Wales vs Australia Cardiff Arms Park
Fiji vs Romania Brive
Mon Oct 14 Argentina vs Western Samoa Pontypool
NZ vs Italy Leicester
France vs Canada Agen
Tue Oct 15 Zimbabwe vs Japan Belfast
Sun Oct 20 Quarter Final 1 Murrayfield
Quarter Final 2 Parc Des Princes
Mon Oct 21 Quarter Final 3 Lansdowne Road
Quarter Final 4 Lille
Sun Oct 27 Semi Final 1 Murrayfield
Mon Oct 28 Semi Final 2 Lansdowne Road
Thu Oct 31 The Play Off Cardiff Arms Park
Sun Nov 3 The Final Twickenham


GROUPS
------
Group 1 New Zealand, England, Italy, USA
Group 2 Scotland, Ireland, Japan, Zimbabwe
Group 3 Australia, Argentina, Wales, Western Samoa
Group 4 France, Fiji, Romania, Canada


OTHER MATCH INFORMATION
-----------------------
Quarter Final 1 = Winner of Group 2 vs Runner-up from Group 3
Quarter Final 2 = Winner of Group 4 vs Runner-up from Group 1
Quarter Final 3 = Winner of Group 3 vs Runner-up from Group 2
Quarter Final 4 = Winner of Group 1 vs Runner-up from Group 4

Semi Final 1 = Winner of Quarter Final 1 vs Winner Quarter Final 2
Semi Final 2 = Winner of Quarter Final 3 vs Winner Quarter Final 4

The Play Off = Runner-up in Semi Final 1 vs Runner-up in Semi Final 2

The Final = Winner of Semi Final 1 vs Winner of Semi Final 2


YOUR ENTRY
----------
Each entry should consist of 16 country names:

Runner-up in each group (1 pts x 4) = 4 pts
Winner in each group (2 pts x 4) = 8 pts
Winner in each Quarter Final (3 pts x 4) = 12 pts
Winner in each Semi Final (6 pts x 2) = 12 pts
Winner in Play Off (8 pts) = 8 pts
Winner in Final (10 pts) = 10 pts
--------
Total points available = 54 pts

As you can see, the points scale is graduated, giving more points to
latter winners. Email your selections to an...@comp.vuw.ac.nz. Please
make the subject of the selection message "Rugby World Cup Selections"
(just in case I decide to automate it :-).


SAMPLE ENTRY
------------
Group 1: winner --> USA runner up --> Italy
Group 2: winner --> Zimbabwe runner up --> Japan
Group 3: winner --> Wales runner up --> Australia
Group 4: winner --> Canada runner up --> Romania

Quarter Final 1: Zimbabwe vs Australia --> Australia
Quarter Final 2: Canada vs Italy --> Canada
Quarter Final 3: Wales vs Japan --> Japan
Quarter Final 4: USA vs Romania --> USA

Semi Final 1: Australia vs Canada --> Australia
Semi Final 2: Japan vs USA --> USA

Play Off: Canada vs Japan --> Canada

Final: Australia vs USA --> USA


SELECTION PROGRAM
-----------------
A small C program follows which will ask you questions then generate
an entry form which you can post back to me. No guarantees it works
(but it did for me).

---------------------------------- cut here ----------------------------------
#include <stdio.h>

#define NOT_FOUND -1
#define FALSE 0
#define TRUE 1

char *team[] = { "New Zealand" , "England" , "Italy" , "USA" ,
"Scotland" , "Ireland" , "Japan" , "Zimbabwe" ,
"Australia" , "Argentina" , "Wales" , "Western Samoa" ,
"France" , "Fiji" , "Romania" , "Canada" };

#define NUM_TEAMS 16
#define NUM_GROUPS 4
#define NUM_TEAMS_PER_GROUP 4
#define NUM_QF 4
#define NUM_SEMI 2


int group[][NUM_TEAMS_PER_GROUP] = { { 0 , 1 , 2 , 3 } , { 4 , 5 , 6 , 7 } ,
{ 8 , 9 , 10 , 11 } , { 12 , 13 , 14 , 15 } };

int qf[][2] = { { 2 , 3 } , { 4 , 1 } , { 3 , 2 } , { 1 , 4 } };

int semi[][2] = { { 1 , 2 } , { 3 , 4 } };


int valid_selection(selection,first,last)
int selection, first, last;
{
if ((selection>=first) && (selection<=last))
return(TRUE);
else
{
printf("\007Bad selection!\n\n");

return(FALSE);
}
} /* of valid_selection() */


int get_selection(selection_list,num_selections)
int selection_list[], num_selections;
{
register int i;
int selection;

do
{
for (i=0;i<num_selections;i++)
printf("%d: %s\n",i+1,team[selection_list[i]]);

printf("\nEnter selection number: ");

scanf("%d",&selection);
}
while (!valid_selection(selection,1,num_selections));

printf("\n\n");

return(selection_list[selection-1]);
} /* of get_selection() */


int *group_without(the_without,the_list,the_length)
int the_without, the_list[], the_length;
{
register int i,j;

for (i=0;(i<the_length) && (the_list[i] != the_without);i++);

if (i<the_length)
for (j=i;j<the_length-1;j++)
the_list[j] = the_list[j+1];

return(the_list);
} /* of group_without() */


void get_group_info(group_runner_up,group_winner)
int group_runner_up[], group_winner[];
{
register int the_group;

for (the_group = 0;the_group < NUM_GROUPS;the_group++)
{
printf("Enter Group %d winner:\n",the_group+1);

group_winner[the_group] =
get_selection(group[the_group],NUM_TEAMS_PER_GROUP);

printf("Enter Group %d runner up:\n",the_group+1);

group_runner_up[the_group] =
get_selection(group_without(group_winner[the_group],group[the_group],
NUM_TEAMS_PER_GROUP),
NUM_TEAMS_PER_GROUP-1);
}
} /* of get_group_info() */


int *two_group(i,j)
int i,j;
{
static int the_list[2];

the_list[0] = i;
the_list[1] = j;

return(the_list);
} /* of two_group() */


void get_qf_info(qf_winner,group_winner,group_runner_up)
int qf_winner[], group_winner[], group_runner_up[];
{
register int i;

for (i=0;i<NUM_QF;i++)
{
printf("Enter winner of Quarter Final %d:\n",i+1);

qf_winner[i] = get_selection(two_group(group_winner[qf[i][0]-1],
group_runner_up[qf[i][1]-1]),
2);
}
} /* of get_qf_info() */


void get_semi_info(semi_winner,qf_winner)
int semi_winner[], qf_winner[];
{
register int i;

for (i=0;i<NUM_SEMI;i++)
{
printf("Enter winner of Semi Final %d:\n",i+1);

semi_winner[i] = get_selection(two_group(qf_winner[semi[i][0]-1],
qf_winner[semi[i][1]-1]),
2);
}
} /* of get_semi_info() */


int the_other(chosen,first,second)
int chosen, first, second;
{
if (chosen == first)
return(second);
else
return(first);
} /* of the_other() */


void get_play_off_winner(play_off_winner,semi_winner,qf_winner)
int *play_off_winner, semi_winner[], qf_winner[];
{
printf("Enter winner of Play Off:\n");

*play_off_winner = get_selection(two_group(the_other(semi_winner[0],
qf_winner[semi[0][0]-1],
qf_winner[semi[0][1]-1]),
the_other(semi_winner[1],
qf_winner[semi[1][0]-1],
qf_winner[semi[1][1]-1])),
2);
} /* of get_play_off_winner() */


void get_final_winner(final_winner,semi_winner)
int *final_winner, semi_winner[];
{
printf("Enter winner of Final:\n");

*final_winner = get_selection(two_group(semi_winner[0],semi_winner[1]),2);
} /* of get_final_winner() */


void print_entry(the_stream,
group_runner_up,group_winner,
qf_winner,semi_winner,
play_off_winner,final_winner)
FILE *the_stream;
int group_runner_up[], group_winner[];
int qf_winner[], semi_winner[];
int play_off_winner, final_winner;
{
register int i;

for (i=0;i<NUM_GROUPS;i++)
fprintf(the_stream,"Group %d: winner --> %-25srunner up --> %s\n",
i+1,team[group_winner[i]],team[group_runner_up[i]]);

fprintf(the_stream,"\n");

for (i=0;i<NUM_QF;i++)
fprintf(the_stream,"Quarter Final %d: %s vs %s --> %s\n",
i+1,
team[group_winner[qf[i][0]-1]],
team[group_runner_up[qf[i][1]-1]],
team[qf_winner[i]]);

fprintf(the_stream,"\n");

for (i=0;i<NUM_SEMI;i++)
fprintf(the_stream,"Semi Final %d: %s vs %s --> %s\n",
i+1,
team[qf_winner[semi[i][0]-1]],
team[qf_winner[semi[i][1]-1]],
team[semi_winner[i]]);

fprintf(the_stream,"\nPlay Off: %s vs %s --> %s\n",
team[the_other(semi_winner[0],qf_winner[semi[0][0]-1],
qf_winner[semi[0][1]-1])],
team[the_other(semi_winner[1],qf_winner[semi[1][0]-1],
qf_winner[semi[1][1]-1])],
team[play_off_winner]);

fprintf(the_stream,"\nFinal: %s vs %s --> %s\n",
team[semi_winner[0]],
team[semi_winner[1]],
team[final_winner]);
} /* of print_entry() */


main (argc, argv)
int argc;
char *argv[];
{
register int i,j;
int group_runner_up[NUM_TEAMS_PER_GROUP],group_winner[NUM_TEAMS_PER_GROUP];
int qf_winner[NUM_QF];
int semi_winner[NUM_SEMI];
int play_off_winner;
int final_winner;

get_group_info(group_runner_up,group_winner);

get_qf_info(qf_winner,group_winner,group_runner_up);

get_semi_info(semi_winner,qf_winner);

get_play_off_winner(&play_off_winner,semi_winner,qf_winner);

get_final_winner(&final_winner,semi_winner);

printf("--------------------- Rugby World Cup Selections Follow ---------------------\n");
printf("---------------------- ( Mail to: an...@comp.vuw.ac.nz ) ---------------------\n\n");

print_entry(stdout,
group_runner_up,group_winner,
qf_winner,semi_winner,
play_off_winner,final_winner);
} /* of main() */

0 new messages