v0.1.0 chess game in go, using external stockfish engine

This commit is contained in:
2025-10-26 17:34:50 -04:00
commit 8ba4357920
15 changed files with 1433 additions and 0 deletions

24
cmd/chessd/main.go Normal file
View File

@ -0,0 +1,24 @@
// FILE: cmd/chessd/main.go
package main
import (
"fmt"
"log"
"os"
"chess/internal/service"
)
func main() {
// Placeholder for future API server implementation
svc, err := service.New()
if err != nil {
log.Fatalf("Failed to initialize service: %v", err)
}
defer svc.Close()
// TODO: Phase 2 - Add HTTP/WebSocket server here
fmt.Println("Chess server daemon - not yet implemented")
fmt.Println("This will host the API in Phase 2")
os.Exit(0)
}