David Cantrell > WWW-Facebook-Go-SGF > WWW::Facebook::Go::SGF

Download:
WWW-Facebook-Go-SGF-1.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0   Source  

NAME ^

WWW::Facebook::Go::SGF - convert a game of Go on Facebook into SGF.

SYNOPSIS ^

    use WWW::Facebook::Go::SGF qw(facebook2sgf);
    
    my $sgf = facebook2sgf($game_id);

DESCRIPTION ^

A simple tool to extract a game record from the GoTheGame application on Facebook and convert it to SGF so that you can then manipulate it using other tools.

FUNCTIONS ^

facebook2sgf

This can be exported if you wish. It takes a game ID as its only parameter, and returns a scalar representation of an SGF recording of the game.

You can get game IDs by visiting http://apps.facebook.com/gothegame/ and clicking the "View Full Profile" link.

BUGS/WARNINGS/LIMITATIONS ^

This has only been tested on completed games. I assume that both players correctly identified all dead groups after passing and that play didn't have to resume. Please report any bugs that you find using http://rt.cpan.org/. Obviously you will need to include the game id in your bug report.

FEEDBACK ^

I welcome feedback about my code, including constructive criticism and bug reports. The best bug reports include files that I can add to the test suite, which fail with the current code in CVS and will pass once I've fixed the bug.

Feature requests are far more likely to get implemented if you submit a patch yourself.

CVS ^

http://drhyde.cvs.sourceforge.net/drhyde/perlmodules/WWW-Facebook-Go-SGF/

AUTHOR, COPYRIGHT and LICENCE ^

Copyright 2009 David Cantrell <david@cantrell.org.uk>

This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.

CONSPIRACY ^

This module is also free-as-in-mason software.

syntax highlighting: