Main > Free Download Search >

Free legion baseball software for linux

legion baseball

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 13
NetStats Baseball 0.9.1

NetStats Baseball 0.9.1


NetStats Baseball project consists of a simulation of major league baseball. more>>
NetStats Baseball project consists of a simulation of major league baseball.
NetStats Baseball is a simulation of major league baseball which will play single games and entire seasons.
It will keep statistics for the individual players and the teams. It will keep track of the season schedule as well as seasonal and lifetime records.
Enhancements:
- Separate two compound assignments where x and x++ were used; this technically isnt well-defined in C and could cause portability problems
- Fix a call of strncpy() to strcpy()
- Remove prototypes for string.h functions in editdata/glob.h; replace with an include of the standard header (causes potential portability problems since these arent declared the same way on all systems)
- correct possible segfault after the welcome screen
- code cleanup
- include current half inning on game-play display
- no parameters now acceptable with client (playbb) ..in this case client connects to localhost
- "help" is printable
- real-life season results are available
- implement autoconf
<<less
Download (0.20MB)
Added: 2007-01-10 License: Freely Distributable Price:
1018 downloads
BaseballNuke 1.0

BaseballNuke 1.0


BaseballNuke is a module for PHP-Nuke that allows for the administration of a baseball team. more>>
BaseballNuke is a module for PHP-Nuke that allows for the administration of a baseball team. BaseballNuke module gives managers of baseball teams a module for the PHP-Nuke CMS to manage their teams roster, stats, and schedules.

The module simplifies team administration and communication to fans. I plan to expand this module to include league management and expand it to other open source CMS projects.
<<less
Download (0.050MB)
Added: 2006-05-18 License: GPL (GNU General Public License) Price:
1255 downloads
WWW::Baseball::NPB 0.03

WWW::Baseball::NPB 0.03


WWW::Baseball::NPB is a Perl module that fetches Japanese baseball games information. more>>
WWW::Baseball::NPB is a Perl module that fetches Japanese baseball games information.

SYNOPSIS

use WWW::Baseball::NPB;

my $baseball = WWW::Baseball::NPB->new;
my @games = $baseball->games;
# or @games = $baseball->games(central);

for my $game (@games) {
my $home = $game->home;
my $visitor = $game->visitor;
printf "%s %d - %d %s (%s) [%s]n",
$home, $game->score($home), $game->score($visitor), $visitor,
$game->status, $game->stadium;
}

WWW::Baseball::NPB provides you a way to fetch and extract Japanese baseball games information via Yahoo! Baseball. (NPB = Nippon Professional Baseball)

<<less
Download (0.010MB)
Added: 2006-12-14 License: Perl Artistic License Price:
1044 downloads
Games::Baseball::Scorecard 0.03

Games::Baseball::Scorecard 0.03


Games::Baseball::Scorecard is a Perl module. more>>
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).
<<less
Download (0.34MB)
Added: 2006-07-31 License: GPL (GNU General Public License) Price:
710 downloads
Baseball::Sabermetrics 0.03

Baseball::Sabermetrics 0.03


Baseball::Sabermetrics is a baseball statistics module. more>>
Baseball::Sabermetrics is a baseball statistics module.

SYNOPSIS

Baseball::Sabermetrics provides an easy interface for calculating baseball statistics, given a data importer. In this package, Ive written CPBL.pm for (Chinese Professional Baseball League, http://www.cpbl.com.tw).

use Baseball::Sabermetrics;
use Baseball::Sabermetrics::CPBL;

my $league = Baseball::Sabermetrics->new(league => CPBL);

# Actually these are predefined.
# Those data with p_ or _allowed here are for seperating pitchers
# and batters.

$league->define(
rc => ab * obp,
babip => (h_allowed - hr_allowed) / (p_pa - h_allowed - p_so - p_bb - hr_allowed,
# what started with $ will be reserved.
# Players have team and league predefined, and team has league.
formula1 => hr / $_->team->hr;
formula2 => hr / $_->league->hr;
complex => sub {
print "You can write a sub directlyn";
$_->slg - $_->ba;
},
...
);

# Some formulas can be applied to players, teams, and league, depend on what
# columns are used in the formula. For example, ab and obp are defined for
# players, teams, and league, so that rc is available for all of them.

# top 5 obp of teams
$_->print qw/ team name ba obp slg isop / for $league->top(teams, 5, obp);

# top 10 obp of players
$_->print qw/ team name ba obp slg isop / for $league->top(players, 10, obp);

# show a players information
$league->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
$league->teams(Yankees)->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;

# show team statistics data (accumulated from players)
$league->{Yankees}->print qw/ win lose ip so bb whip go_ao /;

# give a brief report for pitchers/batters of the team
$league->{Yankees}->report_pitchers qw/ name ip p_so p_bb whip go_ab /;
$league->{Yankees}->report_batters qw/ name ba obp slg isop /;

$league->report_teams qw/ name win lose era obp /;

# show all available formula
print join , $league->formula_list;

Data Structure

Baseball::Sabermetrics is aimed for providing a base class of your interested teams (a league, for example). Youll need to provide a data retriever to pull data out. The following example shows how you have to fill data into this structure.

$league = {
teams => {
Yankees => {
players => {
"Chien-Ming Wang" => {
bio => {
bats => right, # coule be left, switch
throws => right,
},
ip => 57.33333333333,
game => 9,
...
fielding => {
p => {
tc => 43,
pop => 4,
...
},
# b1 => { }, b2 => { }, b3 => { },
# first, second and thrid baseman should be
# b1, b2, and b3 respectively for convenient in
# fielding context. Because the initial of the
# name of subroutine cant be a number in perl.
},
};
...
}
},
Athletics => {
...
},
},
};

TERMS

Available terms of players (including teams and league, which are accumulated from players and could be treated as an abstract player) are:

# pitching
p_game win lose tie gs sv bs hld cg sho ip p_pa np h_allowed
hr_allowed sh_allowed sf_allowed p_bb p_ibb hb p_so wp bk ra er

# batting
pa ab rbi r h 1b 2b 3b hr tb dp sh sf ibb bb hbp so sb cs
tc po a e f_dp ppo tp pb c_cs c_sb

# fielding
pos fgame tc po a e f_dp tp pb c_cs c_sb

And there are additional terms for team:

game win lose tie

<<less
Download (0.030MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1025 downloads
Legendary Legions 20070411

Legendary Legions 20070411


Legendary Legions is a turn-based strategy game with fantasy theme and rpg-elements. more>>
Legendary Legions is a turn-based strategy game with fantasy theme and rpg-elements (e.g. leveling the units, and skills which you could raise).
Your mission is to destroy enemys castle. You can be on good or evil side. A the moment game supports only 2 human player game, but in future we plan to add AI and network play. The gameplay is similar to this in Heroes of Might and Magic but its much simpler of course.
Game was written with allegro for graphic and:
- allegromp3 for music
- loadpng for png support
Note:
All units have been taken from Celtic Legends (an old Amiga game), the concept is a hybrid of Celtic Legends (its not clone), Heroes of Might & Magic and Civilization :D . The dragon in menu and in interface is not ours too as well as music in trailer ;D. Hmmm whats more... the code is ours (but we wont public it yet and everything is in polish so you wont understand it at all), the rest graphic are ours. Oh and sound when the unit is building is not ours too. I think its all about copyrights. The game is freeware, non-profit etc.
Enhancements:
- network multiplayer support
- graphic feature: dynamic clouds with lightining
- builder now can build tower or town
- performance tweak: framelimiter
- fixed bug: tower capture
- some optimization and bugfixes
<<less
Download (3.6MB)
Added: 2007-05-26 License: Freeware Price:
882 downloads
Legion of the Bouncy Castle Java Cryptography API 1.37

Legion of the Bouncy Castle Java Cryptography API 1.37


The Legion of the Bouncy Castle Java Cryptography API provides a lightweight cryptography API in Java. more>>
The Legion of the Bouncy Castle Java Cryptography API provides a lightweight cryptography API in Java. A provider for the JCE and JCA, a clean-room implementation of the JCE 1.2.1, generators for Version 1 and Version 3 X.509 certificates, generators for Version 2 X.509 attribute certificates, PKCS12 support, and APIs for dealing with S/MIME, CMS, OCSP, TSP, and OpenPGP. Versions are provided for the J2ME, and JDK 1.0-1.5.
Main features:
- A lightweight cryptography API in Java.
- A provider for the JCE and JCA.
- A clean room implementation of the JCE 1.2.1.
- A library for reading and writing encoded ASN.1 objects.
- Generators for Version 1 and Version 3 X.509 certificates, Version 2 CRLs, and PKCS12 files.
- Generators for Version 2 X.509 attribute certificates.
- Generators/Processors for S/MIME and CMS (PKCS7).
- Generators/Processors for OCSP (RFC 2560).
- Generators/Processors for TSP (RFC 3161).
- Generators/Processors for OpenPGP (RFC 2440).
- A signed jar version suitable for JDK 1.4/1.5 and the Sun JCE.
<<less
Download (21.2MB)
Added: 2007-06-15 License: Freely Distributable Price:
532 downloads
Wormux 0.8 Beta 1

Wormux 0.8 Beta 1


Wormux is free software clone of the Worms game. more>>
Wormux project is free software clone of this game concept. Though currently under heavy development, it is already very playable, with lots of weapons (Dynamite, Baseball Bat, Teleportation, etc.).

There are also lots of maps available for your battling pleasure! Wormux takes the genre to the next level, with great customisation options leading to great gameplay.

There is a wide selection of teams, from the Aliens to the Chickens. Also, new battlefields can be downloaded from the Internet, making strategy an important part of each battle.

Though two human players are currently needed to play (unless you have a split personality) the creation of artificial players and network play are future goals. So, start downloading today, and fight to become king of the garden!

<<less
Download (MB)
Added: 2007-06-13 License: GPL (GNU General Public License) Price:
865 downloads
Class::DBI::Plugin::HTML 0.9

Class::DBI::Plugin::HTML 0.9


Class::DBI::Plugin::HTML is Perl module to generate HTML Tables and Forms in conjunction with Class::DBI. more>>
Class::DBI::Plugin::HTML is Perl module to generate HTML Tables and Forms in conjunction with Class::DBI.

SYNOPSIS

# Inside of your sub-class of Class::DBI add these lines:
use Class::DBI::Plugin::HTML;
use Class::DBI::Pager;
use Class::DBI::AbstractSearch;
use Class::DBI::Plugin::AbstractCount;
use Class::DBI::Plugin::RetrieveAll;

.....

# Inside your script you will be able to use this modules
# methods on your table class or object as needed.

use ClassDBIBaseClass;
use URI::Escape;
use CGI;

my $cgi = CGI->new();

my $cdbi_plugin_html = Baseball::Master->html();

$cdbi_plugin_html->data_table->addRow(Last Name,First Name,Bats , Throws ,
Height (ft),(inches),
Weight,Birth Year );

my %params;

map { $params{$_} =
uri_unescape($cgi->param("$_"))
} $cgi->param();

$cdbi_plugin_html->params( %params );
$cdbi_plugin_html->exclude_from_url([ page ]);

# attribute style
# created based on params and exclude values from above
# auto sets the query_string value
$cdbi_plugin_html->url_query();

# set the page name (script)
$cdbi_plugin_html->page_name(cdbitest.pl);

# indicate which columns to display
$cdbi_plugin_html->display_columns( [ lastname,firstname,
bats ,throws,
ht_ft ,ht_in,
wt ,birthyear ]
);

# indicate which columns to exclude, inverse of display above
$cdbi_plugin_html->exclude_columns();

# indicate the base class to work with, this is optional,
# if you should create you object via a call to
# Class::DBI::Plugin::HTML vs. a Class::DBI sub class
# this assures the correct sub class is used for data collection
$cdbi_plugin_html->cdbi_class( Baseball::Master );

# indicate the style of navigation to provide
$cdbi_plugin_html->navigation_style( both );

print qq~ Filter by First Letter of Last Name ~;

print $cdbi_plugin_html->string_filter_navigation(
-column => lastname,
-position => begins,
);

print qq~ ~;

$cdbi_html->only(firstname);


print $cdbi_plugin_html->build_table();

my $nav = $cdbi_plugin_html->html_table_navigation();

print qq!
$nav
n!;

$cdbi_plugin_html->add_bottom_span($nav);

print $cdbi_plugin_html->data_table;

UPGRADE WARNING

As of the .8 release there have been changes to the methods and how they work. It is likely that scripts built with older versions WILL break. Please read below to find specific changes that may negatively impact scripts built using the the releases prior to .8. The .9 release contains some minor modifications that could in some chases break your scripts, test carefully before upgrading in a production environment.

<<less
Download (0.021MB)
Added: 2006-11-29 License: Perl Artistic License Price:
1059 downloads
Hedgewars 0.9.0

Hedgewars 0.9.0


Hedgewars project is a Worms clone. more>>
Hedgewars project is a Worms clone.

Each player controls a team of several hedgehogs. During the course of the game, players take turns with one of their hedgehogs. They then use whatever tools and weapons are available to attack and kill the opponents hedgehogs, thereby winning the game.

Hedgehogs may move around the terrain in a variety of ways, normally by walking and jumping but also by using particular tools such as the "Rope" or "Parachute", to move to otherwise inaccessible areas. Each turn is time-limited to ensure that players do not hold up the game with excessive thinking or moving.

A large variety of tools and weapons are available for players during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun, Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope, Pneumatic pick, Parachute.

<<less
Download (4.3MB)
Added: 2007-06-15 License: Freeware Price:
863 downloads
Class::DBI::Plugin::FilterOnClick 1.0

Class::DBI::Plugin::FilterOnClick 1.0


Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables. more>>
Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables using FilterOnClick in conjunction with Class::DBI.

SYNOPSIS

# Inside of your sub-class of Class::DBI add these lines:
use Class::DBI::Plugin::FilterOnClick;
use Class::DBI::Pager;
use Class::DBI::AbstractSearch;
use Class::DBI::Plugin::AbstractCount;
use Class::DBI::Plugin::RetrieveAll;

.....

# Inside your script you will be able to use this modules
# methods on your table class or object as needed.

use ClassDBIBaseClass;
use URI::Escape;
use CGI;

my $cgi = CGI->new();

my %params;

map { $params{$_} =
uri_unescape($cgi->param("$_"))
} $cgi->param();

my $filteronclick = Baseball::Master->filteronclick(
-config_file => /srv/www/cgi-bin/baseball.ini,
# -rows => $cgi->param(rows) || 15 ,
-on_page => $cgi->param(page) || 1,
-params => %params );

$filteronclick->field_to_column(
lastname => Last Name . $html->order_by_link(lastname),
firstname => First Name . $html->order_by_link(firstname),
bats => Bats,
throws => Throws,
ht_ft => Height Ft,
ht_in => In,
wt => Weight,
birthyear => Birthyear,
birthstate => Birthstate,
_FilterOnClickCustom1_ => Other Data,
_FilterOnClickCustom2_ => More Data
);

FilterOnClickCustom

$filteronclick->data_table->addRow(
Last Name,
First Name,
Bats ,
Throws ,
Height (ft),
(inches),
Weight,
Birth Year );

$filteronclick->params( $cgi->Vars; );
$filteronclick->exclude_from_url([ page ]);

# indicate which columns to exclude, inverse of display above
# can be set in config file as well
$filteronclick->exclude_columns();

# indicate the base class to work with, this is optional,
# if you should create you object via a call to
# Class::DBI::Plugin::FilterOnClick vs. a Class::DBI sub class
# this assures the correct sub class is used for data collection
$filteronclick->cdbi_class( Baseball::Master );

# indicate the style of navigation to provide
$filteronclick->navigation_style( both );

print qq~ Filter by First Letter of Last Name ~;

print $filteronclick->string_filter_navigation(
-column => lastname,
-position => begins,
);

print qq~ ~;

$filteronclick->only(firstname);


print $filteronclick->build_table(

_FilterOnClickCustom1_ => sub {
my $pid = shift; # pid = Primary ID of the record in the base table
my @status_objects = Baseball::Allstars->search(lahmanid => $pid);
if (@status_objects) {
my $years;
foreach my $st (@status_objects) {
$years .= $st->year() . " ";
}
return $years;
}
return NA;
},

_FilterOnClickCustom2_ => sub {
my $pid = shift; # pid = Primary ID of the record in the base table
my @status_objects = Baseball::Allstars->search(lahmanid => $pid);
if (@status_objects) {
my $teams;
foreach my $st (@status_objects) {
$teams .= $st->team() . " ";
}
return $teams;
}
return NA;
},
);

my $nav = $filteronclick->html_table_navigation();

print qq!
$nav
n!;

$filteronclick->add_bottom_span($nav);

print $filteronclick->data_table;

UPGRADE WARNING

As of the .8 release there have been changes to the methods and how they work. It is likely that scripts built with older versions WILL break. Please read below to find specific changes that may negatively impact scripts built using the the releases prior to .8. The 1.0 release contains some minor modifications that could in some chases break your scripts, test carefully before upgrading in a production environment.

The intention of this module is to simplify the creation of browsable and searchable HTML tables without having to write the HTML, either in your script or in templates.
It is intended for use inside of other frameworks such as Embperl, Apache::ASP or even CGI. It does not aspire to be its own framework. If you are looking for a frameworks which allow using Class::DBI I suggest you look into the Maypole or the Catalyst module.

See FilterOnClick below for more on the purpose of this module.

Tables are created using HTML::Table. The use of HTML::Table was selected because it allows for several advanced sorting techniques that can provide for easy manipulation of the data outside of the SQL statement. This is very useful in scenarios where you want to provide/test a sort routine and not write SQL for it. The more I use this utility the less likely it seems that one would need to leverage this, but it is an option if you want to explore it.

Feedback on this module, its interface, usage, documentation etc. is welcome.

<<less
Download (0.024MB)
Added: 2006-11-29 License: Perl Artistic License Price:
1060 downloads
1-ClickWeather 1.1.4

1-ClickWeather 1.1.4


1-ClickWeather is a Firefox extension which enables users to quickly view current weather conditions. more>>
Because weather is important to you everyday... weather.com offers you instant local weather conditions, alerts, radar in motion, satellite maps, and forecasts all within your Firefox browser.

1-ClickWeather is a Firefox extension which enables users to quickly view current weather conditions and up to 5 days of forecast information within the browser and allows for instant access to detailed and customized weather content through clickable icons. All weather data in provided by weather.com.

In addition, the extension features color coded severe weather alerts from the National Weather Service and links to unique features available from weather.com.

All of the weather information displayed by 1-ClickWeather relates to a user-selected geographic location. This information includes:

Weather Videos - pre-selected weather video from weather.com. Choices include Top Story, Severe Weather Outlook, European travel forecast, US national forecast or a choice of one of four US regional forecasts.

Radar - animated in-motion Doppler radar image pre-selected by the user from one of nine US regions.

Satellite - satellite map pre-selected by the user for a defined international geographic region. Choices include Europe, Russia, Asia, Middle East, Africa, Canada, Mexico, Central America, and South America.

Quick Launch - up to 16 user-defined quick launch links to unique content on the weather.com website, including local 36-hour forecasts, local 10-day forecasts and links to customized lifestyle content such as Personal PetCasts, Baseball Game Day Forecasts and PollenCasts.

<<less
Download (0.62MB)
Added: 2007-05-02 License: MPL (Mozilla Public License) Price:
978 downloads
SDL for AmigaOS 4.0 1.2.11

SDL for AmigaOS 4.0 1.2.11


SDL for AmigaOS 4.0 project is a port of SDL, the Simple Directmedia Layer, for AmigaOS 4.0. more>>
SDL for AmigaOS 4.0 project is a port of SDL, the Simple Directmedia Layer, for AmigaOS 4.0 SDL is a popular open-source API for games and other software that need low-level access to video and audio hardware and input devices.

SDL was created and is maintained by Sam Lantinga, but has had a legion of contributors of the years (see SDL credits). The AmigaOS 4.0 port was created originally by Thomas and Hans Joerg Frieden, but for the last two years has largely been the work of me, Richard Drummond.

Other contributors include Juergen Schober (who developed the audio layer). You can find may OS4.0 applications built with SDL at os4depot.net and some that I have built on my Amiga Stuff page.
<<less
Download (2.7MB)
Added: 2007-03-14 License: GPL (GNU General Public License) Price:
960 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1