Skip to content

adamwulf/SwiftPGN

Repository files navigation

SwiftPGN

A very basic pgn parser in Swift.

TODO

  • split multi-game pgn into separate pgn strings
  • parse tags in to name/value string pairs
  • parse moves into an enum
  • parse optional clock times in pgn moves
  • translate parsed clock times into wall clock game time
  • define game result checkmate/stalemate/draw/timeout/etc from pgn output

About

Basic chess pgn parser in Swift

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages