Jump to content

Users pick games dynamically, scores are tracked


randomjohn

Recommended Posts

I'm trying to learn php by building a simple website that administers a bracket-style tournament.  Similar to the NCAA tournament, there are 64 teams playing 63 games (ignore the play-in game).  I would seed the bracket with the initial matchups, so it would be like this:

 

Game 1:

A vs B

 

Game 2:

C vs D

 

Game 3:

E vs F

 

Game 4:

G vs H

 

Game 5:

A vs C (the user's picks from games 1 and 2, respectively)

 

Game 6:

F vs G (the user's picks from games 3 and 4, respectively)

 

Game 7:

C vs F (the user's picks from games 5 and 6, respectively)

 

And then the user would also be able to pick that winner of Game 7.  The choices for games 5, 6 and 7 would be presented dynamically for each user, depending on what he picked in the underlying games as a dropdown (although eventually it would be an inline link).

 

Then after picking all 63 games, the users' scores will be calculated by round.  Assume the scoring would be 1 point for each right pick, calculated after each round and ranked.

 

Any suggestions on where to begin?  I've got a few reference books, but I'm a casual user.  This is definitely not homework for school or anything like that.

 

Thanks in advance

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.