Portable Game Notation

Portable Game Notation

Portable Game Notation (PGN) — формат файла для сохранения шахматных партий. Он был разработан Стивеном Эдвардсом (англ. Steven J. Edwards) в 1994 году, чтобы облегчить обмен партиями (к примеру через интернет) между шахматными программами.

Формат PGN использует символы из ASCII-кодировки и состоит из двух частей: метаданные и нотация партии. В первой части стоит информация о партии: турнир, тур, имена игроков, результат и т. д. Вторая часть состоит из алгебраической нотации. Комментарии находятся между {} скобок.

Большинство шахматных программ поддерживает этот формат. Обработка файлов может совершаться и с помощью обычной программы для редактирования текста. В одном файле можно сохранять более, чем одну партию.

Содержание

Seven Tag Roster

Event-Тег

[Event "?"] (Названия турнира, матча)

Примеры

  • [Event "FIDE World Championship"]
  • [Event "Moscow City Championship"]
  • [Event "ACM North American Computer Championship"]
  • [Event "Casual Game"]

Site-Тег

[Site "?"] (Место проведения) Структура: «Город, Регион Страна»
Для обозначения страны используется список кодов МОК.

Примеры

  • [Site "New York City, NY USA"]
  • [Site "St. Petersburg RUS"]
  • [Site "Riga LAT"]

Date-Тег

[Date "????.??.??"] (Дата)

Примеры

  • [Date "1992.08.31"]
  • [Date "1993.??.??"]
  • [Date "2001.01.01"]

Round-Тег

[Round "?"] (Тур)

Примеры

  • [Round "1"]
  • [Round "3.1"]
  • [Round "4.1.2"]

White-Тег

[White "?"] (Инициалы Игрока «Белые»)

Примеры

  • [White "Tal, Mikhail N."]
  • [White "van der Wiel, Johan"]
  • [White "Acme Pawngrabber v.3.2"]
  • [White "Fine, R."]

Black-Тег

[Black "?"] (Инициалы Игрока «Чёрные»)

Примеры

  • [Black "Lasker, Emmanuel"]
  • [Black "Smyslov, Vasily V."]
  • [Black "Smith, John Q.:Woodpusher 2000"]
  • [Black "Morphy"]

Result-Тег

[Result "*"] (Результат)

Примеры

Все возможные результаты

  • [Result "0-1"]
  • [Result "1-0"]
  • [Result "1/2-1/2"]
  • [Result "*"]

Пример

[Event "IBM Kasparov vs. Deep Blue Rematch"]
[Site "New York, NY USA"]
[Date "1997.05.11"]
[Round "6"]
[White "Deep Blue"]
[Black "Kasparov, Garry"]
[Opening "Caro-Kann: 4...Nd7"]
[ECO "B17"]
[Result "1-0"]
 
1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nd7 5.Ng5 Ngf6 6.Bd3 e6 7.N1f3 h6
8.Nxe6 Qe7 9.O-O fxe6 10.Bg6+ Kd8 {Каспаров встряхнул головой} 
11.Bf4 b5 12.a4 Bb7 13.Re1 Nd5 14.Bg3 Kc8 15.axb5 cxb5 16.Qd3 Bc6 
17.Bf5 exf5 18.Rxe7 Bxe7 19.c4 1-0

Ссылки



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Полезное


Смотреть что такое "Portable Game Notation" в других словарях:

  • Portable game notation — Pour les articles homonymes, voir PGN. Portable Game Notation (PGN) désigne un standard de codage des parties d échecs. Il est principalement utilisé pour la retransmission des parties sur internet et dans les bases de données de parties. Il… …   Wikipédia en Français

  • Portable Game Notation — Infobox file format extension = .pgn mime = application/x chess pgn (unregistered)Portable Game Notation (PGN) is a computer processible format for recording chess games (both the moves and related data); many chess programs recognize this… …   Wikipedia

  • Portable Game Notation — Koordinatensystem eines Schachbrettes als Basis der algebraischen Notation und damit auch der Portable Game Notation Portable Game Notation (PGN) ist ein Datenformat zur Speicherung von Schachpartien. Es wurde 1994 von Stephen J. Edwards… …   Deutsch Wikipedia

  • Portable Game Notation — Pour les articles homonymes, voir PGN. Portable Game Notation (PGN) désigne un format standard de codage des parties d échecs. Il est principalement utilisé pour la retransmission des parties sur internet et dans les bases de données de parties.… …   Wikipédia en Français

  • Portable Draughts Notation — (.PDN) is the standard computer processable format for recording draughts games. This format is derived from Portable Game Notation, which is the standard chess format.PDN files are text files which must contain Tag Pairs and Movetext for each… …   Wikipedia

  • Portable Draughts Notation — (.pdn)  формат файлов, характерных для шашечных программ. В основе формата файла .pdn лежит Portable Game Notation, формат файла для сохранения шахматных партий. Формат .PDN используется для записи шашечных партий, анализа позиций.… …   Википедия

  • Notation forsyth-edwards — Pour les articles homonymes, voir FEN. Au jeu d échecs, la notation Forsyth Edwards (abrégé par FEN en anglais) sert à noter la position des pièces sur l échiquier. La notation dérive d une autre mise au point par le journaliste écossais David… …   Wikipédia en Français

  • Notation Forsyth-Edwards — Pour les articles homonymes, voir FEN. Au jeu d échecs, la notation Forsyth Edwards (en anglais, Forsyth Edwards Notation : FEN) sert à noter la position des pièces sur l échiquier. La notation dérive d une autre mise au point par le… …   Wikipédia en Français

  • Standard Algebraic Notation — Portable Game Notation Pour les articles homonymes, voir PGN. Portable Game Notation (PGN) désigne un standard de codage des parties d échecs. Il est principalement utilisé pour la retransmission des parties sur internet et dans les bases de… …   Wikipédia en Français

  • Algebraic notation (chess) — Algebraic notation Algebraic notation (or AN) is a method for recording and describing the moves in a game of chess. It is now standard among all chess organizations and most books, magazines, and newspapers. In English speaking countries, AN… …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»