Game::TextMapper::Schroeder::Island - generate an island chain
This creates an island chain in an ocean, based on the idea of a hotspot moving across the map. All regions atop the hotspot get raised at random; all regions outside the hotspot are eroded at random. This leaves a chain of ever smaller islands behind.
The rest of the code, river formation and all that, is based on the Alpine algorithm and therefore it also requires the use of roles.
return Game::TextMapper::Schroeder::Island ->with_roles('Game::TextMapper::Schroeder::Square')->new() ->generate_map(@params);
Game::TextMapper::Schroeder::Alpine Game::TextMapper::Schroeder::Base Game::TextMapper::Schroeder::Hex Game::TextMapper::Schroeder::Square
To install Game::TextMapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Game::TextMapper
CPAN shell
perl -MCPAN -e shell install Game::TextMapper
For more information on module installation, please visit the detailed CPAN module installation guide.