M9: 체스 자체 수 생성기(체스960 포함), perft·chess.js 비교 테스트

- movegen.ts: 0x88 생성기, 캐슬링 권리를 룩 칸으로 저장(standard·960 공용), Shredder-FEN/X-FEN
- chess.js는 테스트 전용 devDependency로 이동(perft·무작위 대국 비교)
- variant 옵션(일반/체스960), chess960Index, stateVersion 2 + v1 마이그레이션
- 960 캐슬링 규칙·입력(킹→룩 칸, 킹→g/c칸)·무작위 대국 테스트

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-06 13:10:51 +09:00
parent c27cb0a11a
commit 61b7c4e326
7 changed files with 1157 additions and 92 deletions

View File

@@ -11,7 +11,9 @@
},
"dependencies": {
"@bg/engine": "workspace:*",
"chess.js": "1.4.0",
"zod": "4.6.5"
},
"devDependencies": {
"chess.js": "1.4.0"
}
}