GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shirne/chinese_chess: Chinese Chess game by Flutter

BranchesTags
Open more actions menu

Latest commit

 

History

155 Commits
155 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
android
android
 
 
assets
assets
 
 
ios
ios
 
 
lib
lib
 
 
linux
linux
 
 
macos
macos
 
 
plugins
plugins
 
 
preview
preview
 
 
snap/gui
snap/gui
 
 
test
test
 
 
web
web
 
 
windows
windows
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
flutter_native_splash.yaml
flutter_native_splash.yaml
 
 
l10n.yaml
l10n.yaml
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

Chinese Chess

中国象棋界面端. 提供完整的游戏规则处理,windows版带elephanteye引擎的招法提示

*** 重要提示:本项目仅作学习研究之用,由于图片/声音资源取自象棋小巫师,内置引擎从xqlite(js)翻译而来 ,请勿将这些资源用于商业项目 ***

功能

  • 游戏规则处理。包括落子点提示,将军、应将提示,输赢检测
  • 棋盘棋子皮肤加载
  • 支持PGN格式加载,FEN格式导入
  • PGN格式导出, FEN格式局面复制
  • 棋谱自动演播
  • 多语言支持
  • 加入音效(暂时不支持linux)
  • 对局信息展示
  • 编辑局面
  • 加入随机落着的笨机器人(内置机器人已更新为象棋小巫师)
  • 局面时间控制
  • 在线对局

界面

  • 版面美化
  • Windows版适配
  • Web版适配
  • Android版适配
  • IOS版适配
  • MacOS版适配
  • Linux版适配

已知问题

  • [优化中]web版使用内置的随机落着机器人,仅供娱乐
    • 开局棋谱查询落着
    • 中局及残局增加招法深度
    • 招法权重算法优化
  • [已解决]某些情况下不能正确判断结束
  • [已解决]windows版使用elephanteye,如果有打开的ele窗口,缩小它就行了
  • [已解决]windows版机器人和用户提示共用一个引擎,偶有出招冲突
  • 除windows版外,其它平台均未引用elephanteye的引擎,所以没有招法分析功能,只有内置的xqlite机器人对局

预览

棋盘界面和棋子取自象棋小巫师的资源
Web版在线预览 web版需要加载canvaskit,打开较慢

将军 Web机器人
将军 Web机器人
粘贴局面代码 棋谱查看
粘贴局面代码 棋谱查看
编辑局面 结果
编辑局面 结果

使用Flutter开发

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

  • Lab: Write your first Flutter app
  • Cookbook: Useful Flutter samples

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

参考文献

  • [ECCO]https://www.xqbase.com/ecco/ecco_contents.htm#ecco_a
  • [UCCI]https://www.xqbase.com/protocol/cchess_ucci.htm
  • [着法表示]https://www.xqbase.com/protocol/cchess_move.htm
  • [FEN格式]https://www.xqbase.com/protocol/cchess_fen.htm
  • [PGN格式]https://www.xqbase.com/protocol/cchess_pgn.htm

Log

  • 20210509 设置页,功能优化,内置机器人由象棋小巫师翻译而来

  • 20210504 编辑局面功能,多处细节优化

  • 20210430 结果提示,棋谱加载 困毙判断

  • 20210429 布局重构,走子算法改进;皮肤加载;将军及应将、送将判断

  • 20210426 走子规则 走子动画

  • 20210425 完成界面,走棋,吃子

About

Chinese Chess game by Flutter

Resources

Readme
GPL-2.0 license
Activity

Stars

60 stars

Watchers

2 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.