Skip to content

Instantly share code, notes, and snippets.

@yuzeh
Last active April 7, 2019 22:18
Show Gist options
  • Save yuzeh/bb116041aca3be842b1f4cf546a045ec to your computer and use it in GitHub Desktop.
Save yuzeh/bb116041aca3be842b1f4cf546a045ec to your computer and use it in GitHub Desktop.
Minimal PGN file required for bayeselo to read properly
; bayeselo (https://www.remi-coulom.fr/Bayesian-Elo/) will read this file properly.
;
; Notes
;
; 1. Use typical chess notation for game results:
; - "1-0" for a white win
; - "0-1" for a black win
; 2. It seems like some chess moves are needed for it to parse properly, which is why
; the end of each line has `1. c4 Nf6`.
;
[White "p1"][Black "p2"][Result "1-0"] 1. c4 Nf6
[White "p1"][Black "p2"][Result "0-1"] 1. c4 Nf6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment