NAME
Game::TextPacMonster - A Packman style game on Terminal
SYNOPSIS
You can enjoy games called "level1", "level2" and "level3" by default.
You may also create your own games.
To play the game is as follows.
use strict;
use warnings;
use Game::TextPacMonster;
my $game = Game::TextPacMonster->level1; # level2 or level3
$game->run;
To make your original game is as follows.
use strict;
use warnings;
use Game::TextPacMonster;
my $map =<<'MAP';
#############
# . # . # R #
# #
# #
# @ # . # . #
#############
MAP
my $timelimit = 60;
my $game = Game::TextPacMonster->new(
{
timelimit => $timelimit,
map_string => $map
}
);
$game->run;
DESCRIPTION
Game::TextPacMonster is a Packman style game on Terminal. A player as "@" has to eat all "." while escape enemies "R", "L", "V", "H" and "J".
AUTHOR
Takashi Uesugi <tksuesg@gmail.com>
SEE ALSO
http://blog.goo.ne.jp/80-cafe/e/f8fc7916cba530fb638a3983ece65a18
http://www.geocities.co.jp/SiliconValley-Oakland/8742/gakken/puckm.html
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.