It's a fictional movie pertaining to chess. One of the two chess related films I know to have used real chess settings, while the other movies treated chess with illegal moves everywhere.
I have watched this film long ago and now I could find a clip on Youtube for the end game, which was brilliant, though fictional I believe.
Luzhin's Defense (since he plays black) (2000): A chessmaster committed suicide during his last game due to mental issue. He had written out the winning moves which was found by his wife who finished the game for him at a later time.
The other game being a true story movie: Searching for Bobby Fisher.