cjsaylor / chessimage

Golang library for rendering chess board images in a specific state.
https://godoc.org/github.com/cjsaylor/chessimage
MIT License
5 stars 5 forks source link

go.mod and castling support #8

Closed Hultan closed 1 year ago

Hultan commented 1 year ago

A go.mod file is added, and the Gopkg.lock and Gopkg.toml is removed.

This PR closes #1 and #5, castling moves are now supported by changing MoveType of the LastMove struct.

examples/castling.go added docs/castling.png added readme.md updated

All assets are now embedded. If AssetFolder is empty, then the embedded assets will be used...