Skip to content

Commit 80f7706

Browse files
committed
update readme
1 parent 3ec9038 commit 80f7706

4 files changed

Lines changed: 28 additions & 32 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 多羅狼
3+
Copyright (c) 2026 DoroWolf
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,44 @@
1-
# chess dragon
1+
# 象棋龙 ChessDragon
22

3-
This template should help get you started developing with Vue 3 in Vite.
3+
<p align="center">
4+
<img src="logo.png" alt="ChessDragon Logo" width="200"/>
5+
</p>
46

5-
## Recommended IDE Setup
7+
一个纯前端实现的像素风格国际象棋小游戏,使用 Vue 3 打造。棋子是我自己画的像素风拟龙原创角色(OC)。
68

7-
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
9+
(虽然画技还得修炼XD)
810

9-
## Recommended Browser Setup
11+
界面布局模仿了 Chess.com / Lichess 的对局体验,底层**从零实现了一套完整的国际象棋引擎**,零外部象棋库依赖。
1012

11-
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
12-
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
13-
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
14-
- Firefox:
15-
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
16-
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
13+
---
1714

18-
## Type Support for `.vue` Imports in TS
15+
<p align="center">
16+
<img src="screenshot.jpg" alt="Screenshot" width="700"/>
17+
</p>
1918

20-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
19+
## 特性
2120

22-
## Customize configuration
21+
- **原创像素棋子** – 每枚棋子都是手绘的像素拟龙角色,自带萌系气场
22+
- **完整规则引擎** – 包含王车易位、吃过路兵、升变、逼和、三次重复局面、50 步规则等,严格遵循国际象棋标准
23+
- **人机对弈 AI** – 基于 Minimax + Alpha-Beta 剪枝的 AI,具备多级难度,全由自己实现
24+
- **舒适布局** – 仿主流象棋平台的界面设计,棋盘、走子提示、着法列表一应俱全
25+
<!-- **轻量纯前端** – Vue 3 + Vite,响应式适配 桌面与移动端-->
26+
- **开箱即玩** – 已部署到 GitHub Pages,浏览器打开就能玩
2327

24-
See [Vite Configuration Reference](https://vite.dev/config/).
28+
## Demo
29+
[立即体验](https://dorowolf.github.io/chess-dragon)
2530

26-
## Project Setup
31+
## 本地运行
2732

28-
```sh
33+
```bash
34+
git clone https://github.com/<你的用户名>/chess-dragon.git
35+
cd chess-dragon
2936
npm install
30-
```
31-
32-
### Compile and Hot-Reload for Development
33-
34-
```sh
3537
npm run dev
3638
```
3739

38-
### Type-Check, Compile and Minify for Production
40+
## 许可与版权
3941

40-
```sh
41-
npm run build
42-
```
43-
44-
### Lint with [ESLint](https://eslint.org/)
42+
本项目代码使用 [MIT License](LICENSE) 开源。
4543

46-
```sh
47-
npm run lint
48-
```
44+
所有美术设计的版权归原作者所有。角色的二次创作无须授权。

public/logo.png

5.63 KB
Loading

public/screenshot.jpg

986 KB
Loading

0 commit comments

Comments
 (0)