CIF Examples
First example: A short game from FICS Database.
[Event "FICS rated blitz game"]
[Site "FICS freechess.org"]
[FICSGamesDBGameNo "365996276"]
[White "FredReinfeld"]
[Black "ADJUSTOR"]
[WhiteElo "1853"]
[BlackElo "1878"]
[TimeControl "180+0"]
[Date "2014.12.21"]
[Time "23:57:00"]
[WhiteClock "0:03:00.000"]
[BlackClock "0:03:00.000"]
[ECO "A47"]
[PlyCount "10"]
[Result "0-1"]
1. d4 {[%emt 0.0]} Nf6 {[%emt 0.0]} 2. Nf3 {[%emt 0.235]} b6 {[%emt 1.49]}
3. c4 {[%emt 0.109]} Bb7 {[%emt 0.86]} 4. g3 {[%emt 0.125]} Bxf3 {[%emt 2.18]}
5. Bg2 {[%emt 0.468]} Bxg2 {[%emt 2.91]} {White resigns} 0-1
The export of this game above may result in the following output:
<cif>
<game>
<info>
<head>
<event>
<title>FICS rated blitz game</title>
<site>FICS freechess.org</title>
<date>2014.12.21</date>
<time>23:57:00</time>
</event>
<white>
<name>FredReinfeld</name>
<rating><score organization=":FICS">1853</score></rating>
<clock>00:03:00</clock>
</white>
<black>
<name>ADJUSTOR</name>
<rating><score organization=":FICS">1878</score></rating>
<clock>00:03:00</clock>
</black>
<time>
<mode>:blitz</mode>
<control>180+0</control>
</time>
<characteristics>
<result>0-1</result>
</characteristics>
<opening>
<eco>A47</eco>
</opening>
<extraneous>
<gameid tag="FICSGamesDBGameNo">365996276</gameid>
<creator>:PGN</creator>
</extraneous>
<source>
<title>http://www.ficsgames.org/</title>
</source>
</head>
<moveinfo>
<table content="elapsedmovetime">
0,0,0.235,1.49,0.109,0.86,0.125,2.18,0.468,2.91
</table>
</moveinfo>
</info>
<moves>
d2d4 g8f6 g1f3 b7b6 c2c4 c8b7 g2g3 b7f3 f1g2 f3g2
<epilogue lang="en">White resigns</epilogue>
</moves>
</game>
<info>
<version>1.0</version>
<creator>:Scidb</creator>
<author>Gregor Cramer</author>
<created>2014.12.22</created>
<source>http://ccif.sourceforge.net</source>
<content>
<count type="game">1</count>
<count variant=":Chess">1</count>
</content>
<description lang="en">A simple example.</description>
</info>
</cif>
Seond example: A short game from FICS Bughouse Database.
[Event "FICS rated bughouse game"]
[Site "FICS - freechess.org"]
[Date "2014.12.22"]
[Time "06:14:57"]
[BughouseDBGameNo "3141831"]
[WhiteA "crankinhaus"][WhiteAElo "1719"]
[BlackA "XrayVizion"][BlackAElo "1690"]
[WhiteB "nonspiego"][WhiteBElo "1911"]
[BlackB "jesusga"][BlackBElo "1806"]
[TimeControl "120+0"]
[Lag "241 211 123 615 296 164 172 475 205 125 250 119 138 470 61 514
236 73 262 301 265 59 544 184 60 386 424 121 153 118 132 62 122 143
242 71 119 110 118 293 118 239 123 118 126"]
[Result "1-0"]
{C:This is game number 3141831 at http://www.bughouse-db.org}
1A. d4{117.674} 1a. Nf6{119.900} 1B. e4{116.768} 2A. Nc3{117.529}
1b. Nf6{119.900} 2a. d5{119.169} 2B. e5{115.812} 3A. Bf4{117.429}
3a. Nc6{118.489} 2b. Ne4{118.579} 4A. e3{117.037} 3B. Nc3{115.402}
4a. e6{118.162} 5A. Nf3{116.743} 5a. Bd6{116.998} 6A. Bb5{116.643}
3b. Nxf2{116.136} 6a. Bxf4{116.230} 4B. Kxf2{114.646} 7A. exf4{116.355}
4b. d6{115.401} 7a. Bd7{114.939} 8A. Bxc6{116.255} 5B. exd6{113.376}
8a. Bxc6{114.471} 9A. Ne5{115.982} 5b. N@g4+{113.279} 6B. Qxg4{111.634}
6b. Bxg4{113.052} 7B. dxc7{110.629} 7b. B@b6+{111.955} 9a. P@h6{107.102}
8B. B@e3{108.304} 8b. Bxc7{111.065} 10A. Nxf7{111.307} 10a. Kxf7{106.205}
9B. N@g5{102.356} 9b. P@f6{108.746} 10B. Nxf7{101.055} 10b. Kxf7{108.646}
11B. B@e2{100.107} 11A. N@e5+{103.179} 11b. Be6{105.186} 12B. d4{95.280}
12b. Nc6{103.219}
{nonspiego resigns} 1-0
The export of this game above may result in the following output:
<cif>
<game variant=":Bughouse" tandem="yes">
<info>
<head>
<event>
<title>FICS rated bughouse game</title>
<site>FICS freechess.org</title>
<date>2014.12.22</date>
<time>06:14:57</time>
</event>
<white>
<name>crankinhaus</name>
<rating><score organization=":FICS">1719</score></rating>
</white>
<white>
<name>nonspiego</name>
<rating><score organization=":FICS">1911</score></rating>
</white>
<black>
<name>XrayVizion</name>
<rating><score organization=":FICS">1690</score></rating>
</black>
<black>
<name>jesusga</name>
<rating><score organization=":FICS">1806</score></rating>
</black>
<time>
<mode>:bullet</mode>
<control>120+0</control>
</time>
<characteristics>
<result>1-0</result>
</characteristics>
<extraneous>
<gameid tag="BughouseDBGameNo">3141831</gameid>
<creator>:BPGN</creator>
</extraneous>
<source>
<title>http://www.bughouse-db.org/</title>
</source>
</head>
<moveinfo>
<table content="elapsedmovetime">
117.674,119.900,117.529,119.169,117.429,118.489,117.037,118.162,
116.743,116.998,116.643,116.230,116.355,114.939,116.255,114.471,
115.982,107.102,111.307,106.205,103.179
</table>
<table content="lag">
241,211,615,164,475,205,250,138,470,61,514,73,301,59,544,60,386,
62,242,71,239
</table>
</moveinfo>
<moveinfo>
<table content="elapsedmovetime">
116.768,119.900,115.812,118.579,115.402,116.136,114.646,115.401,
113.376,113.279,111.634,113.052,110.629,111.955,108.304,111.065,
102.356,108.746,101.055,108.646,100.107,105.186,95.280,103.219
</table>
<table content="lag">
123,296,172,125,119,236,262,265,184,424,121,153,118,132,122,143,
119,110,118,293,118,123,118,126
</table>
</moveinfo>
</info>
<moves>
<prologue lang="en">This is game number 3141831 at http://www.bughouse-db.org</prologue>
d2d4 g8f6 | e2e4 | b1c3 | g8f6 | d7d5 | e4e5 | c1f4 b8c6 | f6e4 | e2e3 |
b1c3 | e7e6 g1f3 f8d6 f1b5 | e4f2 | d6f4 | e1f2 | e3f4 | d7d6 | c8d7 b5c6 |
e5d6 | d7c6 f3e5 | g4@N d1g4 c8g4 d6c7 b6@B | h6@P | e3@B b6c7 | e5f7 e8f7 |
g5@N f6@P g5f7 e8f7 e2@B | e5@N | g4e6 d2d4 b8c6
<epilogue>nonspiego resigns</epilogue>
</moves>
</game>
<info>
<version>1.0</version>
<creator>:Scidb</creator>
<author>Gregor Cramer</author>
<created>2014.12.22</created>
<source>http://ccif.sourceforge.net</source>
<content>
<count type="game">1</count>
<count variant=":Bughouse">1</count>
</content>
<description lang="en">A simple Bughouse example.</description>
</info>
</cif>