Sim Dynasty

View Old Forum Thread

Old Forum Index » Sim Forums » Baseball Enhancements » League News page
ChrisL

League News page

January 05, 2002 at 03:18AM View BBCode

I'd be interested in seeing a League News page that looks like a sports page. You could write important events, such as injuries, trades, milestones, etc. to the page as games were played as simple text, and keep, say, the last week's worth of sports pages:


[align=center]The Dynasty Sports Chronicle[/align]

Dodgers's Walker Out for 30 Games
The Dodgers's Bob Walker was injured in a play at second today. The Brooklyn third baseman is expected to be out for at least 30 games, according to the team's doctor.

Milwaukee Sends Chaney to Minors
The Milwaukee Brew Crew has sent Aurelio Chaney to the minors for extra development. The underperforming first baseman will be replaced by Rick Larkin, who was called up immediately after today's game.

Janders Shopping Keating
Today, the Baltimore Janders offered Eddie Keating to the Cleveland Indians for Bert Rios and pitching prospect Ed Leach. There has been no comment yet on the trade from the Cleveland front office.

Tigers's Prince Wins 20th Game
Martin Prince of the Detroit Tigers won his 20th game this evening, bringing his record to 20-7 with no saves. The lefthander is tied for second place on the league leaders' list with 8 games to play.

[align=center]Yesterday's Games[/align]
Monarchs Destroy Janders, 6-0
Stranglers Edge Alonzos, 7-9
Bullets Blank Sox, 10-0
Tigers Defeat Indians, 4-2
Dodgers Rout Firebombers, 17-6
Rammers Squeak Past Hunters, 5-4
Reds Defeat Redbirds, 9-8
Brew Crew Blast Deities, 10-4

(Note: These would link to the box scores. I don't think there is any other place in the game where all the results for a single day are visible)
(Note 2: The last example above ilustrates a potential problem, as team names would be assumed to be plural, and "Brew Crew" is singular; thus, "blast" should be "blasts", but the code wouldn't know that, unless it asumed that any team named that did not end in 's' was singular.)

[Edited on 1-5-2002 by ChrisL]
Ben

January 05, 2002 at 03:27PM View BBCode

the news articles would probably be written by the team owners because it would be alot of work for one person to right every day unless there was someway to make it automated so when something happens a message is posted
tysonlowery

January 05, 2002 at 09:56PM View BBCode

Cool idea, would truly be an enhancement, nice-to-have sort of thing. But I could see some people getting into this.
ChrisL

January 05, 2002 at 10:14PM View BBCode

Originally posted by Ben
the news articles would probably be written by the team owners because it would be alot of work for one person to right every day unless there was someway to make it automated so when something happens a message is posted


Oh, it woud all be automated. The tricky thing is to find many ways to word an event so the stories don't sound repetitive.

Where there is room for input from a player, though, is on a trade; when a trade is accepted or rejected, there could be a box for a "comment for the press", which would incorporate it into a news article.

The nice thing about it is that you could code up a page for one or two events to get started, plus the game scores, and gradually add functions for more and more milestones and events.

Tyson, if you could give me an idea what database access is like in JSP ages (like, send me a copy of the code for the League Leaders and/or the Game Results page), I can whip up some starter code for you that wuld demonstrate what I have in mind... I have some similar code from one of my old projects that could be adapted...

--Chris
tysonlowery

January 05, 2002 at 10:17PM View BBCode

Chris, that would be really cool. If I sent you the structure on the pertinent tables, maybe you could write some pseudo code and then I could translate it into jsp?
ChrisL

January 05, 2002 at 10:32PM View BBCode

Works for me! After we get that working, I can really try to twist my brain into knots and take the box score code and have it spit out a sports-page style game recap... I'm not 100% sure that can even be done convincingly, but it's worth a shot...

--Chris

Pages: 1