Jerome Quelin > Games-Risk-3.112820 > Games::Risk::Controller

Download:
Games-Risk-3.112820.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 3.112820   Source   Latest Release: Games-Risk-4.000

NAME ^

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

VERSION ^

version 3.112820

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
syntax highlighting: