Games::Risk::Controller - controller poe session for risk


Games-Risk documentation  | view source Contained in the Games-Risk distribution.

Index


NAME

Top

Games::Risk::Controller - controller poe session for risk

VERSION

Top

version 3.103040

SYNOPSIS

Top

    use Games::Risk::Controller;
    Games::Risk::Controller->spawn;

DESCRIPTION

Top

This module implements a poe session, responsible for the state tracking as well as rule enforcement of the game.

PUBLIC METHODS

Top

my $id = Games::Risk::Controller->spawn( \%params )

This method will create a POE session responsible for a classical risk game. It will return the poe id of the session newly created.

You can tune the session by passing some arguments as a hash reference. Currently, no params can be tuned.

SEE ALSO

Top

Games::Risk.

AUTHOR

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Risk documentation  | view source Contained in the Games-Risk distribution.