A PUZ file decoder and encoder based on the format specified here.
- Encodes and Decodes PUZ Files
- Supports Extra Sections
- Unscrambles and Re-scrambles PUZ files
- Preserves all data
- Docs
go get github.com/cqb13/puz-parser/puzimport (
"github.com/cqb13/puz-parser/puz"
)
func main() {
// get the bytes from a file
puzzle, err := puz.DecodePuz(fileBytes)
if err != nil {
panic(err)
}
encodedBytes, err := puz.EncodePuz(puzzle)
if err != nil {
panic(err)
}
}This project would not be possible without the help of the following: