View Single Post
Old 06-11-2006, 09:31 AM   #31 (permalink)
cody8200
Minors (Double A)
 
Join Date: Jan 2003
Location: Indianapolis
Posts: 188
Quote:
Originally Posted by Comedian2004
I guess I should have gone with the easier routines first, but this is one that perked my interest.

Trading:

I redid this entire code, as I had some logic wrong and it was a pain, but the first part is working.

Here is how it will work. You pick a team and it will look through and find all of the trades this team ever made. Then, it will examine each trade and give you a report on the outcome.

So, if PlayerA was traded from TeamA to TeamB for PlayerB, then you would see how PlayerA did when he was on TeamB and how PlayerB did when he was on TeamA. Then, if one of the players went to a different team before three years were up, then it would also show that. But if the player stayed on the same team for, say, 7 years, you would see his entire 7 years.

There are a couple ways I could do this. Maybe I could just show the entire players career after the trade? Or show his entire career, with the trade line highlighted.

What do you think?

Here is a screenshot of it early on. So far it is just pulling up the players name that was traded (just one of them for now) and showing how he did the rest of his career.


This sounds awesome! I cant wait to have this feature.
cody8200 is offline   Reply With Quote