Module: RubySGF::SGF
- Defined in:
- lib/rubysgf.rb,
lib/sgf/node.rb,
lib/sgf/errors.rb,
lib/sgf/record.rb,
lib/sgf/property.rb,
lib/sgf/coordinates.rb,
lib/sgf/compressed_list.rb
Overview
Go-specific under FF
Defined Under Namespace
Classes: CompressedList, Coordinates, Node, Property, PropertyError, Record, SGFError
Constant Summary collapse
- ALL_PROPERTY_NAMES =
%w{ B KO MN W AB AE AW PL C DM GB GW HO N UC V BM DO IT TE AR CR DD LB LN MA SL SQ TR AP CA FF GM ST SZ AN BR BT CP DT EV GN GC ON OT PB PC PW RE RO RU SO TM US WR WT BL OB OW WL FG PM VW HA KM TB TW }- COORDINATE_PROPERTIES =
properties which have values which are coordinates and implemented by this program
%w{ B W AB AW AE CR MA SQ TR TW TB }- PROPERTY_NAMES_HASH =
the properties going to be implemented by this program
{ :black_move => "B", :white_move => "W", :black_stones => "AB", :white_stones => "AW", :neutral_points => "AE", :comment => "C", :node_name => "N", :circled_points => "CR", :label => "LB", :marked_x => "MA", :squared_points => "SQ", :triangled_points => "TR", :application => "AP", :character_set => "CA", :file_format => "FF", :game_type => "GM", :board_size => "SZ", :annotator => "AN", :black_rank => "BR", :copyright_info => "CP", :game_date => "DT", :game_name => "GN", :overtime => "OT", :black_player => "PB", :game_location => "PC", :white_player => "PW", :game_result => "RE", :ruleset => "RU", :source => "SO", :time_limits => "TM", :white_rank => "WR", :black_time_left => "BL", :black_overtime => "OB", :white_time_left => "WL", :white_overtime => "OW", :handicap => "HA", :komi => "KM", :white_territory => "TW", :black_territory => "TB", :markup_style => "ST" }
- PROPERTY_NAMES =
implemented by this program
PROPERTY_NAMES_HASH.values
- NOT_IMPLEMENTED_PROPERTY_NAMES =
ALL_PROPERTY_NAMES - PROPERTY_NAMES