Giter VIP home page Giter VIP logo

chinese_chess's Introduction

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:

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

参考文献

Log

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

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

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

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

  • 20210426 走子规则 走子动画

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

chinese_chess's People

Contributors

shirne avatar calcitem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.