Volity::GameRecord

Information about a completed Volity game.
Download

Volity::GameRecord Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jason McIntosh
  • Publisher web site:
  • http://volity.org/projects/gamut/

Volity::GameRecord Tags


Volity::GameRecord Description

Information about a completed Volity game. Volity::GameRecord is a Perl module with information about a completed Volity game.SYNOPSISuse Volity::GameRecord;An object of this class represents an information record about. In practical terms, it's an abstraction of the information that a game referee sends to its Volity network's bookkeeper once a game has finished. Through the methods this class provides, it's easy for a parlor to build and sign this RPC call, and just as easy for the receiving bookkeeper.Note that, since RPC is the neutral middle ground, a Frivolity game parlor (a.k.a. a Perl object of a Volity::Game::Server subclass) can pass a Volity::GameRecord object to any Volity bookkeeper, regardless of its platform. Similarly, A Volity::Bookkeeper object can knit a Volity::Gamerecord object out of any game parlor's RPC request, whether or not that parlor runs Frivolity. (In reality, this latter situation will probably be quite common.)USAGEGame module designers don't have to worry about using this module at all. Records are automatically created by Volity::Referee objects when a game wraps up, and incoming records are automatically parsed by the bookkeeper. Your main responsibility with game record handling involves the winners list, available through the winners() method of your Volity::Game subclass and manipulatable through the methods described in Volity::WinnersList.The following documentation is really here for completeness' sake, but those wishing to modify the Frivolity referee or bookkeeper behavior might find it interesting. Requirements: · Perl


Volity::GameRecord Related Software