Acme::GuessNumber - Automatic number guessing game robot
use Acme::GuessNumber; guess_number(25); # If you are in a hurry guess_number(25, HURRY_UP);
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.
Start playing. Give it a maximum range of the numbers, and the program will play the number guessing game for you. If you are in a hurry, you can also speed it up by setting $hurry = 1, or use the exported symble HURRY_UP.
No. That's the whole point of acme. Human is never acme. Only machines are acme. So, in order for everything to be acme, no human interfere is allowed. This ensures that when guessing, the player will never be bothered by all kinds of emotion: anxious, depress, anything. It just guesses, precisely. Nothing more.
No. This can't possible be wrong. This is brute force. It will try until it succeeds. Nothing can stop it from success. You always win! You will always win! The Goddess will always smile at you!
Copyright (c) 2007-2008 imacat. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.