Automatic number guessing game robot.

This commit is contained in:
Chin-San Huang 2008-05-18 17:49:12 +00:00
parent b23c73c68d
commit 9c60eb4cc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213291
4 changed files with 54 additions and 0 deletions

View file

@ -553,6 +553,7 @@
SUBDIR += optimax
SUBDIR += orbital_eunuchs_sniper
SUBDIR += outerspace
SUBDIR += p5-Acme-GuessNumber
SUBDIR += p5-Algorithm-Pair-Best
SUBDIR += p5-Algorithm-Pair-Swiss
SUBDIR += p5-Baseball-Sabermetrics

View file

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-Acme-GuessNumber
# Date created: 2008/05/18
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= Acme-GuessNumber
PORTVERSION= 0.03
CATEGORIES= games perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= chinsan@FreeBSD.org
COMMENT= Automatic number guessing game robot
PERL_CONFIGURE= yes
MAN3= Acme::GuessNumber.3
PLIST_FILES= %%SITE_PERL%%/Acme/GuessNumber.pm \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Acme-GuessNumber/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Acme-GuessNumber \
%%SITE_PERL%%/Acme
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (Acme-GuessNumber-0.03.tar.gz) = 0304a21d20d74c65fd3fc3c77179f2cf
SHA256 (Acme-GuessNumber-0.03.tar.gz) = 73b0ef9dab9cddd443371053e0a03a77692d44547d6714c3b6a4f893c5cee45d
SIZE (Acme-GuessNumber-0.03.tar.gz) = 19467

View file

@ -0,0 +1,24 @@
Many people have this experience: You sit before a gambling table. You keep
placing the bet. You know the Goddess will finally smile at you. You just
don't know when. You have only to wait. As the time goes by, the bets in
your hand become fewer and fewer. You feel the time goes slower and slower.
This lengthy waiting process become painfully long, like a train running
straightforwardly into hell. You start feeling your whole life is a failure,
as the jackpot never comes...
But, hey, why so painfully waiting? The Goddess will finally smile at you,
right? So, why not put this painly waiting process to a computer program?
Yes. This is the whole idea, the greatest invention in the century:: An
automatic gambler! There is no secret. It is simple brute force. It
never-endingly runs toward the final jackpot. You can go for other business:
sleep, eat, work. When you finally came back you wins. With it, the hell of
gambling is history!
Remember, that the computer is never affected by emotion, luck, everything.
It never feel anxious or depress. It simply, faithfully, determinedly runs
the probability until the jackpot. As you know, the anxiety and depression
is the enemy of the games, while a simple, faithful and determined mind is
the only path to the jackpot. This makes computer a perfect candidate as a
gambler than an ordinary human.
WWW: http://search.cpan.org/dist/Acme-GuessNumber/