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 29.640.797 Times

Games::Baseball::Scorecard 0.03

  Date Added: September 25, 2010  |  Visits: 1.500

Games::Baseball::Scorecard

Report Broken Link
Printer Friendly Version


Product Homepage
Download (160 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  
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  
Libraries  -  Glib 1.132
Glib are Perl wrappers for the GLib utility and Object libraries. SYNOPSIS use Glib; ABSTRACT This module provides perl access to GLib and GLibs GObject libraries. GLib is a portability and utility library; GObject provides a generic type...
245.76 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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