Bug 84164 - New Port: games/p5-Games-Sequential - Sequential games framework with OO interface
Summary: New Port: games/p5-Games-Sequential - Sequential games framework with OO inte...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 11:30 UTC by Aaron Dalton
Modified: 2005-08-31 12:52 UTC (History)
0 users

See Also:


Attachments
submission.txt (2.97 KB, text/plain)
2005-07-27 11:30 UTC, Aaron Dalton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Dalton 2005-07-27 11:30:08 UTC
Games::Sequential is a framework for producing sequential games. Among 
other things it keeps track of the sequence of moves, and provides an 
unlimited undo() mechanism. It also has methods to clone() or take a 
snapshot() of a game.

Users must pass an object representing the initial state of the game as the 
first argument to new(). This object must provide the two methods copy() 
and apply(). You can use Games::Sequential::Position as a base class, in 
which case the copy() method will be provided for you. The apply() method 
must take a move and apply it to the current position, producing the next 
position in the game.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2005-08-31 12:51:56 UTC
State Changed
From-To: open->closed

New port added, with minor changes because it doesn't build with perl < 5.6.1. Thanks!