Hello,

To make it more clear.

What I have in mind is this:

Make a application with a menu which contains a input choice and a 
rankings choice.

If the user chooses for input the user gets a form so the data can be in 
the database.

If the user chooses for rankings the followrig occurs.

Every rule in the database is be read.
Then there is a check if the team has already played a game.

If so, then the data will changed .
If not, team is added to a array and the data willbe changed.

After that the data will be sorted so the best team is displayed first 
and so on.

Database will look like this :

Home team
Away team
Score home team
Score away team.

Array looks like this :

Team
Played games
game points
points made by that team
points the other teams made in games with this team.
example team A played 3 games, won 2 , made 50 , other teams made 20
team : A
game points 2*3=6
points : 50
points : 20

I hope it's now clear what i have in mind.

Roelof


-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to