Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 40.531.523 Times

Games::Baseball::Scorecard 0.03

  Date Added: September 25, 2010  |  Visits: 1.963

Games::Baseball::Scorecard

Report Broken Link
Printer Friendly Version


Product Homepage
Download (170 downloads)



Games::Baseball::Scorecard is a Perl module. SYNOPSIS my $score = Games::Baseball::Scorecard->new($dir, $name, { color => [ .4, .4, .4 ], # grey fonts => [ # Myriad Condensed regular/bold [ myriadrcrrl => 9 ], [ myriadrcbrl => 14 ], [ myriadrcrrl => 14 ], [ myriadrcbrl => 22 ], ], }); # fill initial scorecard out $s->init({ scorer => Pudge, date => 2004-10-24, 20:05-23:25, at => Fenway Park, Boston, temp => 48 clear, wind => 7 to RF, att => 35,001, home => { team => Boston Red Sox, starter => 38, # jersey number lineup => [ # [ num, position ], [ 18, 8 ], # Damon, starting at CF # ... ], roster => { # num => name 18 => Damon, Johnny, 38 => Schilling, Curt, # ... }, }, away => { team => St. Louis Cardinals, # ... } }); # draw the game $s->inn; # new inning / end of last inning $s->ab; # new at-bat # works to full count $s->pitches(qw(s b s b b f)); # struck out looking $s->out(!K); $s->ab; # home run to left-center $s->hit(4, lc); # calculate/draw stats $self->totals; # finish the job $s->generate; # open final PDF $s->pdfopen; Games::Baseball::Scorecard is a frontend to a PDF scorecard written in Metapost by Christopher Swingley (http://www.frontier.iarc.uaf.edu/~cswingle/baseball/scorecards.php). That scorecard is drawn out, and has a nice API for actually drawing out the elements of the game: all the ball, strikes, outs, etc. Being Metapost, it is laborious to do all this. So this module provides a nice frontend, that also keeps track of balls and strikes and hits and runs and outs and more, making input of the game quite simple and efficient. This module does not include the entire API, but most of it. Patches and ideas welcome. Feel free to call output directly if you want to generate Metapost on your own, or to modify the $SCORECARD variable (which contains the base Metapost code), or the $TEX (single page) and $TEXD (duplex) TeX files. I wont give a tutorial on scoring baseball games, or on Metapost, below. Seek other resources (Swingleys URL above has a nice tutorial on scoring baseball games, using the scorecard he designed, which is what were using here)..

Requirements: No special requirements
Platforms: Linux
Keyword: Gamesbaseballscorecard Libraries Metapost Perl Programming S- Scorecard
Users rating: 0/10

License: Freeware Size: 348.16 KB
USER REVIEWS
More Reviews or Write Review


GAMES::BASEBALL::SCORECARD RELATED
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Programming  -  Acme::BOPE 0.01
Created at the base of the hill of Babylon, New York, in full evening of funk, this module allows you to make inroads Perl programming using just jargon and language taken from the famous movie "Elite Squad" director Jose Padilha
10.24 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Development Editors  -  EngInSite Perl Editor Lite 2.0
If you've used Windows programming tools like Visual Basic, Visual C++ or Delphi, EngInSite Perl Editor's IDE will be familiar to you. If not, you'll find that the visual environment can give you a dramatic productivity boost! You will value...
3.14 MB  
Programming  -  Perl 5.8.8
Perl is a stable, cross platform programming language. Perl project is used for mission critical projects in the public and private sectors and is widely used to program web applications of all needs.. The Perl Directory at perl.org. Links and...
11.9 MB  
Libraries  -  Aw::Admin 0.16.7
Aw::Admin is a Perl extension for the ActiveWorks C Administration Libraries. SYNOPSIS use Aw MyFavoriteBroker@my.host.net:6449; require Aw::Admin::ServerClient; my $desc = new Aw::ConnectionDescriptor; my $server = new...
122.88 KB  
Libraries  -  Language::Logo 1.000
Language::Logo Perl module is an implementation of the Logo programming language. SYNOPSIS use Language::Logo; my $lo = new Logo(update => 20); $lo->command("setxy 250 256"); $lo->command("color yellow"); $lo->command("pendown"); #...
16.38 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB