WWW::Facebook::Go::SGF - convert a game of Go on Facebook into SGF.
use WWW::Facebook::Go::SGF qw(facebook2sgf); my $sgf = facebook2sgf($game_id);
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.
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.
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.
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.
Copyright 2009 David Cantrell <firstname.lastname@example.org>
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.
This module is also free-as-in-mason software.