-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
47 changed files
with
11,164 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# 妙着象棋App | ||
|
||
#### 介绍 | ||
象棋助手用于 Android12.0+ 的无需ROOT权限、无侵入的自动识别AI走棋软件(仅供测试、学习使用,后果自负) | ||
|
||
#### 使用需要的权限 | ||
|
||
1. 屏幕识别(识别棋局) | ||
2. 无障碍权限(自动走棋子) | ||
3. 存储权限(数据存储) | ||
|
||
#### 使用功能 | ||
|
||
1. 棋局识别(训练的AI本地自动识别) | ||
2. 着法显示(根据引擎返回的着法显示) | ||
3. FEN显示(可复制棋局) | ||
4. 自动走棋(根据引擎返回的着法走棋) | ||
5. 自动连线(根据引擎返回的着法连线) | ||
6. 深度定义(可选择军师水平) | ||
7. 思考时间(反应速度可定义) | ||
8. 编辑棋局(根据识别的棋局进行编辑) | ||
9. 浮窗绘制局面 | ||
|
||
|
||
#### 更新下载链接 | ||
|
||
1. https://wwbw.lanzouj.com/chess11 | ||
|
||
# 妙着象棋App | ||
|
||
#### 介绍 | ||
象棋助手用于 Android12.0+ 的无需ROOT权限、无侵入的自动识别AI走棋软件(仅供测试、学习使用,后果自负) | ||
|
||
#### 使用需要的权限 | ||
|
||
1. 屏幕识别(识别棋局) | ||
2. 无障碍权限(自动走棋子) | ||
3. 存储权限(数据存储) | ||
|
||
#### 使用功能 | ||
|
||
1. 棋局识别(训练的AI本地自动识别) | ||
2. 着法显示(根据引擎返回的着法显示) | ||
3. FEN显示(可复制棋局) | ||
4. 自动走棋(根据引擎返回的着法走棋) | ||
5. 自动连线(根据引擎返回的着法连线) | ||
6. 深度定义(可选择军师水平) | ||
7. 思考时间(反应速度可定义) | ||
8. 编辑棋局(根据识别的棋局进行编辑) | ||
9. 浮窗绘制局面 | ||
|
||
|
||
#### 更新下载链接 | ||
|
||
1. https://wwbw.lanzouj.com/chess11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
''' | ||
Author: Paoger | ||
Date: 2023-11-27 15:32:43 | ||
LastEditors: Paoger | ||
LastEditTime: 2024-01-12 14:11:13 | ||
Description: | ||
Copyright (c) 2023 by Paoger, All Rights Reserved. | ||
''' | ||
from kivy.graphics import * | ||
from kivy.uix.widget import Widget | ||
|
||
from kivymd.app import MDApp | ||
|
||
class Arrowline(Widget): | ||
sx = sy = ex = ey = w = r = None | ||
|
||
def __init__(self,sx,sy,ex,ey,w=1,r=1,**kwargs): | ||
super(Arrowline, self).__init__(**kwargs) | ||
self.sx = sx | ||
self.sy = sy | ||
self.ex = ex | ||
self.ey = ey | ||
self.w = w | ||
self.r = r | ||
|
||
self.bind(pos=self.update_canvas) | ||
self.bind(size=self.update_canvas) | ||
self.update_canvas | ||
|
||
def update_canvas(self,*args): | ||
with self.canvas: | ||
self.canvas.clear() | ||
#Color(128,128,0,0.6)#浅黄 | ||
Color(0.129,0.588,0.953,0.6)#浅蓝 33 150 243 | ||
|
||
Line(points=[self.sx,self.sy,self.ex,self.ey],width=self.w) | ||
Line(circle=(self.ex,self.ey,self.r),width=self.r) | ||
|
||
class AIArrowline(Widget): | ||
sx = sy = ex = ey = w = r = None | ||
|
||
def __init__(self,sx,sy,ex,ey,w=1,r=1,**kwargs): | ||
super(AIArrowline, self).__init__(**kwargs) | ||
self.sx = sx | ||
self.sy = sy | ||
self.ex = ex | ||
self.ey = ey | ||
self.w = w | ||
self.r = r | ||
|
||
self.bind(pos=self.update_canvas) | ||
self.bind(size=self.update_canvas) | ||
self.update_canvas | ||
|
||
def update_canvas(self,*args): | ||
with self.canvas: | ||
self.canvas.clear() | ||
Color(128,128,0,0.6)#浅黄 | ||
#Color(0.129,0.588,0.953,0.3)#浅蓝 33 150 243 | ||
|
||
Line(points=[self.sx,self.sy,self.ex,self.ey],width=self.w) | ||
Line(circle=(self.ex,self.ey,self.r),width=self.r) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.