OhMyGame
OhMyGame is the open-source studio for making games with AI. Design, build, playtest, and publish games in one app, with your own model keys.
AI와 2인 체스 대전을 하고, 다양한 난이도와 기물 배치로 연습할 수 있는 체스 게임
Translation pending
AI summary · website content
GamesJavaScript · CSSGitHub @jenny81-starOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗초등학생도 즐길 수 있는 브라우저 체스 게임입니다. 클래식 우드 체스판과 SVG 기물, 이동 애니메이션을 갖췄고, 서버 없이 정적 파일만으로 동작합니다.
캐슬링, 앙파상, 프로모션(퀸·룩·비숍·나이트 선택), 체크·체크메이트·스테일메이트를 지원합니다.
다음 경우에는 무승부로 끝납니다.
+1.2, M3(3수 안에 메이트)처럼 표시됩니다.C60 · Ruy Lopez처럼 표시됩니다.
!!(최고의 수), !(좋은 수), ?(실수), ??(심각한 실수)를 자동으로 붙입니다.+)와 체크메이트(#)를 표기합니다. 흑이 먼저 두는 포지션은 1...로 시작합니다.← →로 한 수씩, Home End로 처음과 끝으로 이동합니다.localStorage에 한 판을 저장합니다.빌드 과정은 없습니다. Stockfish가 Web Worker로 동작하므로 로컬 웹 서버로 열어야 합니다.
python -m http.server 8123
그다음 브라우저에서 http://localhost:8123 을 엽니다.
index.html을 파일로 직접 열면(file://) Worker를 쓸 수 없습니다.
이때는 자동으로 직접 구현한 내장 엔진(Minimax + Alpha-Beta)으로 대체되어, 게임은 그대로 할 수 있습니다.
node tests/draw-test.js
node tests/levels-evalbar-openings-test.js
node tests/notation-test.js
node tests/quality-test.js
node tests/replay-test.js
node tests/editor-engine.test.js
node tests/ai-variety-test.js
node tests/stockfish-bridge-test.js
file://로 열기 때문에 내장 엔진 경로를 검사합니다.
npm install
node playwright-tests/session1.js
session1.js ~ session9-quality.js까지 있습니다.
├── index.html # 진입점 (스크립트 로드 순서 = 의존 순서)
├── styles/main.css # 전체 스타일
├── src/
│ ├── engine/
│ │ ├── board.js # 보드 상태, 이동 적용, FEN, 포지션 키
│ │ ├── moves.js # 이동 규칙, 체크·무승부 판정
│ │ ├── evaluator.js # 내장 엔진 평가 함수
│ │ ├── ai.js # 레벨 1~20 설정, 착수 선택, 내장 엔진(대체용)
│ │ └── stockfish.js # Stockfish Web Worker 브리지 (상대 AI / 분석 분리)
│ ├── game/
│ │ ├── game.js # 게임 흐름, 저장·불러오기, 무르기, 힌트
│ │ ├── quality.js # 수 품질(!! ! ? ??) 백그라운드 분석
│ │ ├── review.js # 복기 모드
│ │ └── openings.js # 오프닝 이름 조회
│ ├── ui/
│ │ ├── renderer.js # 체스판·기보 렌더링
│ │ ├── animator.js # 이동 애니메이션
│ │ ├── effects.js # 폭죽
│ │ ├── evalbar.js # 평가 막대 · 오프닝 이름 표시
│ │ └── editor.js # 기물 배치 모드
│ └── data/
│ └── openings-data.js # 오프닝 데이터 (자동 생성)
├── assets/stockfish/ # Stockfish.js 18 lite-single (JS + WASM)
├── tools/
│ ├── build-openings.js # Lichess TSV → openings-data.js 변환
│ └── openings-src/ # Lichess 오프닝 원본 TSV
├── tests/ # node 테스트
└── playwright-tests/ # 브라우저 시나리오 테스트
오프닝 데이터를 다시 만들 때는 아래 명령을 실행합니다.
node tools/build-openings.js