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

NAME

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

VERSION

version 4.000

DESCRIPTION

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

PUBLIC METHODS

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.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

This software is Copyright (c) 2008 by Jerome Quelin.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007