This game is based on dice baseball, a type of tabletop baseball game. You can read more about it in this good dice baseball article .
The dice roll is based on the roll rules shared by Eric Harrington on the page at the link above (about 2/3 of the way down the page). A single-die game, the first roll determines hit or out. If it's a hit then another roll is made to decide which type of hit it was. This is done with a virtual roll of a six-sided die using a JavaScript random function.
You can can always keep score on your own, but a downloadable scorecard is available. Click the "Download Scorecard" link to print the scorecard. The format of the scorecard is open so you can use whatever scoring method you feel comfortable with. Here's a basic scorekeeping tutorial and the Wikipedia article on keeping score using a scorecard.
Some commentary has been included to give the game a better feel. It also allows for more detailed scorekeeping. More commentary will be included as the game evolves.
If you have any questions or comments, please email brian@highwaywebconsulting.com.