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 3.101110

SYNOPSIS

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

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.

SEE ALSO

Games::Risk.

AUTHOR

Jerome Quelin, <jquelin at cpan.org>

COPYRIGHT & LICENSE

Copyright (c) 2008 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU GPLv3+.

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