View Single Post
Old 05-13-2019, 12:23 PM   #12
TomVeal
All Star Starter
 
Join Date: Jul 2013
Location: Spanaway, Washington
Posts: 1,242
Quote:
Originally Posted by Westheim View Post
I don't see the problem... addition by restriction:

1. Add the extra roster spot for a double-header, but only for teams that play one.

2. The AI is forced to select a rested pitcher as the extra player.

3. The AI must send back the same player after the double-header is over.

4. If another pitcher is injured during the double-header, the AI may DL him and keep the extra pitcher instead.

Now someone whip that into C++ real quick and we're good.

Disclaimer: I don't do programming for a living, I have never programmed anything fancy even in Excel, and I am scared to death of the Xerox in the next room.
Back in the very, very old days, which few now remember, programs were much simpler and were written in languages like BASIC and Pascal, which ordinary human beings could use. That's all the programming experience that I have, but I remember how much trouble it was to introduce minor exceptions that applied only under unusual circumstances without generating bugs. I doubt that it's any easier with modern programming languages and vastly bigger programs.
TomVeal is offline   Reply With Quote