Main > Programming > Libraries >

Volity::Game 0.6.5

Volity::Game 0.6.5

Sponsored Links

Volity::Game 0.6.5 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.10 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1033
Date added: 2006-12-28
Publisher: Jason McIntosh

Volity::Game 0.6.5 description

Volity::Game is a base class for Volity game modules.

SYNOPSIS

See Volity::Game::TicTacToe and its source code for a simple but full-featured example.

This class provides a framework for writing Volity game modules in Perl. A Volity game module will be a subclass of this class.

To turn your subclass into an active Volity parlor, you can pass it to the volityd program via its game_class config option (see volityd).

USAGE

To use this module, subclass it. Create your own Perl package for your game, and have it inherit from Volity::Game. Then define game logic and other behavior primarily by writing callback methods, as described in "CALLBACK METHODS".

See Volity::Game::TicTacToe for a simple but complete example of a Volity::Game subclass.

Some things to keep in mind while writing your subclass:

Its a pseudohash

The object that results from your class will be a Perl pseudohash that makes use of the fields pragma. (See fields.) As the example shows, you should declare the the instance variables you intend to use with a use fields() invocation.

Other than that, an instance if your subclass will work just like a hash-based Perl object.

Use (but dont abuse) the initialize() method

The Volity::Game base class constructor calls initialize() as a final step.

If you override this method to peform game-specific initialization on your subclass, it must have a return value of $self->SUPER::initialize(@_).

Volity::Game 0.6.5 Screenshot

Advertisements

Volity::Game 0.6.5 Keywords

Bookmark Volity::Game 0.6.5

Hyperlink code:
Link for forum:

Volity::Game 0.6.5 Copyright

WareSeeker periodically updates pricing and software information of Volity::Game 0.6.5 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Volity::Game 0.6.5 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Volity::Player is a Perl module for Volity players, from a referees perspective. Free Download
Volity::Jabber is a base class for Jabber-speaking Volity objects. Free Download
Volity::Seat is a Volity seat, containing some players. Free Download
Volity::WinnersList is Perl class for Volity game record winners lists. Free Download
Gamut is the Volity projects first graphical client application, written in Java and usable on any Java-friendly computer. Free Download
Nelit2 Engine project is a game engine. Free Download
Volity::Bot::TicTacToe::Random is a Perl module with Tic tac toe bot module for Volity. Free Download
Chess::Game is a class to record and validate the moves of a game of chess. Free Download