The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Game::TextMapper::Schroeder::Square - a role for square map generators

DESCRIPTION

This role provides basic functionality for map generation with square maps: the number of neighbours within one or two regions distance, how to pick a random neighbour direction, how to compute the coordinates of these neighbours, how to draw arrows towards these neighbours.

SEE ALSO

Game::TextMapper::Schroeder::Base Game::TextMapper::Schroeder::Hex