The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

This class is different from Game::TextMapper::Square!

SEE ALSO

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