INTRODUCTION
BBStat v1.0 is a Baseball statistics manager. It doesn't store the
statistics, but rather the games, action by action. The program
'calculates' the different stats you ask for. Therefore, there are no
limitations to the kind of request.

FILES LIST
Here are the eight files contained in the archive :
- bbstat10.exe
- bbstat10.hlp
- bbstat10.bbs
- owl31.dll
- tclass.dll
- .dll
- order.txt
- readme.txt


INSTALLATION
Well, it's really quite easy. Simply put the files in a directory. Then
you can run the application using the File Manager (File | Execute...)
or you can install it as a new icon using program manager (File | New
...). Of course, you will require Windows 3.1.

DISTRIBUTION CONDITIONS
You can distribute this shareware version of BBStat 1.0, as long as :
- The distributed archive contains all the files listed above, and only
them.
- The contents of this archive are not modified.
- You don't sell this version, except in some cases a reasonable disk
copying fee.

HOW TO REGISTER
BBStat is a shareware. You can use it without any license for 14 days.
After that trial period, you will have either to destroy the copy you 
have or register. When you register, you will receive the latest version 
of BBStat (see the FUTURE VERSIONS section for more details) and a
file containing baseball games I collected (see the COLLECTING
GAMES section). The registered version does not have the reminder
to register screen at the start.

The registration fee is $27 (US). Add $8 (US) for shipping &
handling. This price includes the first registration, then all updates are
free (for life !), except the shipping charge. To register, print and fill
the 'order.doc' file, and send it with the money to this address :

Damien LAULY
16, rue Professeur Patel
69009 LYON
FRANCE

I will not accept cheques, so please send me cash only, and preferably
in US funds. For non-US residents, try finding US cash, or (if really
you don't have dollars) send me the equivalent of the price in your
own currency.

You can receive the new version by e-mail. Then you don't have to
pay the shipping charge.

Registrations with the incorrect fee or not in cash will be returned.

CONTACTING THE AUTHOR
You can contact me (the author) at the 'registration address', or via
e-mail at :
lauly@enstb.enst-bretagne.fr
I will welcome, even encourage any comments, suggestions, bug
reports, game files or anything (even a baseball discussion) at the
e-mail adress.

COLLECTING GAMES
This fabulous program, BBStat, manages baseball games. I first
wanted to create it to store the games I see, and of course to have stats
on those games. Then, seeing that I could spread it all over the world,
I had a dream. I dreamed that people from everywhere were using
BBStat, storing games, and they sent the games to me. Think about it,
it would be great ! Having a real, large database, with many, MANY
games ! So if you use BBStat, you can send your games (.BBS
format) to me. Though the first vesion can't mix two files, I'll work on
something. I will gather all the games, and send the bigger file with
the new version. I will do more than that : I'll send the games by
e-mail to those who send me some games (to encourage you doing it).
If you don't have access to e-mail, you can wait. But those who can
use e-mail should send me their games regularly, they will receive
much more games in the next 24 hours !!

DISCLAIMER 
I (the author of BBStat) accept no responsability for damages that this
program may cause. There is no warranty to this software. Now you
know, you may encounter problems, I am not responsible. You use it
at your own risk.
Ok, it is said, but don't be afraid. I don't think it can damage your
system or whatever. At worst, you may encouter a big bug (hey, it's
the first version !), then please report it to me.

KNOWN BUGS
- The 'Print Setup...' menu item doesn't work correctly at the moment.
It just doesn't remember the setup you ask for.
You should use some other print setup, for example the one of the 
print manager. Once you have chosen the correct parameters, the 'Print'
menu item of BBStat works correctly on the default printer.
- The 'About' dialog box contains a bitmap. I had some problems with
it on some computers, it causes an error (that doesn't stop the program
but that doesn't show the bitmap). It may work with your system !

ABOUT BBSTAT (finally !)
The database contains 5 different kinds of elements : Teams,
Stadiums, Games, Hitters and Pitchers. For each element, you will
find the operators 'View' and 'New' in the menu bar. 'New', of course,
creates a new element. 'View' opens a window with the list of
elements, sorted alphabetically. You can double click on an element of
the list, it will edit it. It's like when you do 'New', except that it doesn't
create a new element. When you edit a game, you can see two grids
representing each team for that game. You can change each part of
the grids, all with the mouse :
- To give the lineup, click on a part of the lineup.
- Do the same at the bottom of each grid for the pitchers.
- You can put the score of the game and the score in each inning.
- Click in the grid to give the actions for the At Bats.
- To swap two hitters in the lineup, drag and drop a hitter to his real
position.
- To move hitter changes (the vertical bar in the grid), drag and drop
the bar (the at bat on the right)
to the desired inning, at the same position.
- To move pitcher changes (the horizontal bar), drag and drop the at
bat under the bar with the right
mouse button anywhere on the grid.

To accelerate the input process, I tried to put some default values at
some parts. So, when you enter a new game, if one of the teams has
already been playing (in the database), you won't have to get the
lineup, it will be the lineup of the last game played by the team.
Generally most of the players are the same, so you will only make
few changes (swap two hitters).
Also the database knows that a player has played in a team, so it's
faster to choose among the players of one team than among all the
players.
When you edit an At Bat, you will use the 'Actions' list box just a few
times. This is because most of the actions are : StrikeOuts,
GroundOuts, PopOuts and FlyOuts. If it is actually one of these, just
click on the positions. The program also knows the order of
elimination, so you won't have to tell that too (except in some cases).
Therefore, I can tell you, it's really quick to enter a game. When you
know BBStat (and it's not so difficult), you can enter a whole game
(yes, the two teams) in less than 6 minutes (as long as the hitters and
pitchers are already known).

About getting the stats :
As you give some very detailed informations (each At Bat is itself
very detailed and knows who did it against who, when, where...), you
can get some very interesting stats. Just say what you want to restrict,
what kind of stat you want, etc... To do that, there is a BIG dialog
box. It is so big that I had to divide it into two parts, but in fact the
two dialog boxex are opened at the same time, so it's exactly as if
there was only one dialog box. It works on At Bats, and all the choices
you do will restrict the search in some At Bats. Fundamentally, an At
Bat is a hitter vs a pitcher, at a time and place. So for each of the
hitters and pitchers you can precise :
- his hand (Left, Right, Switch or All)
- his team
- the conference of his team
- the league of his team
Then you have :
- the date
- the place (home or road)
- the inning
- the position
- the kind of game (season or World Series...)
For each group of the dialog box, you have a radio button called
'Each', and one called 'Global'. 'Each' means, 'I want the list of this'.
For example, each for hitters will list the hitters. Each for hand, you
will have Left, Right, Switch and Global (yes, you always have
'Global' at the end of the list anyway). If you don't want a list, click
'Global', you will have only one stat.

Here are some examples of requests :
- stats of the left handed hitters of Oakland during the World Series
[against anybody], for each hitter.
- same stat, for each pitcher's team.
- same stat, for each hand, against pitchers of conference West.


FUTURE VERSIONS
Here is what future versions should include :
- Even more stats. Version 1.0 only includes 'classical stats', though
they can be very sophisticated. In future versions, you will have RBIs
(very soon !), stuff like '...with runners in scoring positions', '... after
0, 1, or 2 outs', or precise (precise !) stats on the ball ('...number of
flyouts on the left, on the center and on the right...). More things on
'Date', 'Inning', 'Position'.
- YOU will specify the actions, the associated notations, and stats you
will want to calculate.
- Calculates automatically the scores
- You will be able to create Leagues and Conferences. This first
version was designed for Major League Baseball, so you only have
'National, American, East, West'. With your own leagues and
conferences, you will be able to store games with Minor league,
College or High School league teams.
- You will be able to mix several .BBS files, and also to store some
specified games in a .BBS file (eg. all the World Series games), or
store some stats.
- A few more things on resources (more menu items, an icon bar, new
dialogs, more baseball bitmaps...)
- Team changes (a team changes its name, its hometown, or its league
or conference, or its stadium...)
- Knows about managers.
- Possibility of having several 'Each' stats. For example, you want a
list of teams AND hitters (stats for each hitter of each team).

Those are just ideas I have at the moment, but I don't know if I will
find the time, or the motivation to do everything. 

