home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 214
/
214.d81
/
t.baseball
< prev
next >
Wrap
Text File
|
2022-08-26
|
2KB
|
85 lines
u
BASEBALL
by Kenneth Barsky
[Foreward:] It's summer, and America
turns to Baseball to while away the
long hot days. The game moves slowly,
until a sudden explosion of action.
With each inning, the tension mounts.
Will the Mudville Mudhens pull it out
during their last at-bat? Or will the
Tinytown Titans go home still
undefeated? The answer will arrive,
one pitch at a time.
This program features the use of
random choice, sound and sprites. It
even has a built-in statistian.
After the elaborate crawl-up
disclaimer, the program plays and
shows the words to 'Take Me Out To The
Ball Game' (as it does between every
half inning.)
Then it asks you for the names of
the visiting team and the home team,
and gives you the option of playing
the visiting team and the home team,
or letting the computer play both
sides (best choice).
The program selects the home-field
(all major league teams or 'home
field' default), and requests you to
turn on your printer. The two teams
and the field are printed out. You can
leave your printer on, or turn it off
until the end of the game.
The program then proceeds to run a
whole game, keeping statistics, show-
ing between each half inning, and at
the end of the game (with optional
printout).
The game is designed to produce a
realistic major-league score. A
pitcher's battle or a high scoring
game is possible. You will notice that
this game includes pick-off attempts
(usually futile), the infield fly
rule, and steal attempts.
The time of this game usually runs
an hour and a half, but the printout
at the end of the game will show
2-1/2+ hours. That's because that is
usually how long a major league game
lasts, so I added an hour to the start
of the game.
KB
[Dave's AfterShoot:] So who needs the
hot sun beating down on the cheap
seats? Just open a beer (or other
beverage), a bag of peanuts and a box
of crackerjacks, and enjoy.
The statistical interplay withing
this simulation is remarkable. Ken
tells me that he ran a game during an
actual Yankees match -- and came
within one point of the actual score.
Though we have carried several of
Ken's other programs here on LOADSTAR,
this is his first major opus -- and
a good job, too.
DMM