v0.14.0 web replay UI, My games, CLI replay

This commit is contained in:
lixen committed 2026-10-19 18:07:41 -04:00
1 parent 87dcb3e550
commit a999177f0c
37 files changed
+4058 -1803

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
//go:build js && wasm
package command
import "fmt"
// savePGN has no file system in the browser: the PGN is printed instead,
// to be copied from the terminal.
func savePGN(path, text string) error {
fmt.Print(text)
return fmt.Errorf("files cannot be saved from the browser; the PGN is printed above")
}