|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
    『楼 主』:
斗地主脚本,开发中...鼠标测试版 更新[2010-4-23]
使用 LLM 解释/回答一下
斗地主脚本,开发中...(现继续招募合作开发者群:3401238)
合作开发成员:sybn(sl543001),netbenton PLP
目前进度:
游戏界面基本完成,后期会继续优化.
发牌和选牌功能已基本可以使用.
出牌和牌型检测正在完善中.
改用最新版的SYBC 1.1.31 并改用DEBUG内存调用方式.
游戏速度大幅提升,画面刷新时间几乎减半
SYBC 1.1.41 新加鼠标支持,但不是很完善
测试中,可以用鼠标控制出牌,但咱不支持无3方
下一步编写电脑AI.
目前非正式发布测试版,代码在25楼.
41楼有支持鼠标的测试版本
最新版本截图
牌型检测讨论帖:
http://www.cn-dos.net/forum/viewthread.php?tid=50466&fpage=1
牌背图案讨论帖:
http://www.cn-dos.net/forum/viewthread.php?tid=50415&fpage=1
sybc更新讨论帖:
http://www.cn-dos.net/forum/viewthread.php?tid=50370&fpage=1
Last edited by sl543001 on 2010-4-25 at 18:16 ]
Dou地主 script, under development... (Now continue to recruit cooperative developers group: 3401238)
Cooperative development members: sybn (sl543001), netbenton PLP
Current progress:
The game interface is basically completed, and will be further optimized later.
The card dealing and card selection functions are basically usable.
The card playing and card type detection are being improved.
Switch to the latest version of SYBC 1.1.31 and use the DEBUG memory call method.
The game speed is greatly improved, and the screen refresh time is almost halved
SYBC 1.1.41 newly added mouse support, but it is not perfect
In testing, the mouse can be used to control card playing, but we do not support non-3 parties
Next, write the computer AI.
Currently an unofficial release test version, the code is on floor 25.
There is a test version supporting the mouse on floor 41
Latest version screenshot
Card type detection discussion post:
http://www.cn-dos.net/forum/viewthread.php?tid=50466&fpage=1
Card back pattern discussion post:
http://www.cn-dos.net/forum/viewthread.php?tid=50415&fpage=1
sybc update discussion post:
http://www.cn-dos.net/forum/viewthread.php?tid=50370&fpage=1
Last edited by sl543001 on 2010-4-25 at 18:16 ]
此帖被 +20 点积分 点击查看详情 评分人:【 zh159 】 | 分数: +20 | 时间:2010-3-10 01:10 |
|
附件
1: sybc参数详解.gif (2010-3-10 12:41, 17.45 KiB,下载次数: 3)
附件
2: ddz61.GIF (2010-4-23 13:57, 24.41 KiB)
|

SYBNQQ:354324773
|
|
2010-2-24 20:06 |
|
|
doslike
版主
        系统收藏家
积分 326
发帖 285
注册 2010-2-22 来自 黑龙江省
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
我可以给你一些帮助。
可以用wbat或中文系统里的tx来完成。
那个2010可以删掉。因为没起什么作用。可以用其他的文字来代替2010
草图设计的有点小。用mode调一下
I can give you some help.
It can be done with wbat or tx in the Chinese system.
That 2010 can be deleted. Because it doesn't play any role. Other words can be used to replace 2010.
The sketch design is a bit small. Adjust it with mode
|
|
2010-2-26 12:59 |
|
|
doslike
版主
        系统收藏家
积分 326
发帖 285
注册 2010-2-22 来自 黑龙江省
状态 离线
|
  『第 3 楼』:
使用 LLM 解释/回答一下
esc可以换成f1
esc是关闭游戏(wbat里面关闭就是esc)
ESC can be replaced with F1. ESC is used to close the game (in wbat, closing is done with ESC)
|
|
2010-2-26 13:00 |
|
|
doslike
版主
        系统收藏家
积分 326
发帖 285
注册 2010-2-22 来自 黑龙江省
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
人机对战的模块有点难。
The module for man-machine combat is a bit difficult.
|
|
2010-2-26 13:02 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
预计使用16色彩色字符界面,所以最大就是25*80@16,所以界面不能再加大了!
2010是牌背,预计提供多种牌背.由玩家自己选择看着顺眼的用.
同样,排面斗地主字样也可以由玩家修改.
如果可以找到短小精悍的鼠标程序那就更好了.
It is expected to use a 16-color character interface, so the maximum is 25*80@16, so the interface cannot be enlarged anymore!
2010 is the back of the card, and it is expected to provide multiple back of the cards. Players can choose the one that looks pleasing to use by themselves.
Similarly, the words "Dou Di Zhu" on the card face can also be modified by players.
It would be even better if a concise and efficient mouse program can be found.
|

SYBNQQ:354324773
|
|
2010-2-26 14:21 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
发一点中间数据,不知有没人看得懂:
┏━ ━━ ━┓ ┏━ ┳━ ━━ ┳━ ━━ ━┓ ┏━ ━━ ━┓ ┏━ ━━ ━┓ ┏━ ━━ ━┓
┏━ ┳━ ┫ ┏━ ┳┻ ┫ ┃ ┏━ ┫ ┏━ ┳┻ ┫ ┃ ┃ ┏━ ┳┻ ━━ ━┓ ┃ ┏━ ━┻ ━┓
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┗━ ┫ ┃ ┗━ ┻┳ ┫ ┗━ ┫ ┃ ┗━ ━┳ ━┛ ┗━ ┫ ┃ ┃ ┗━ ┫ ┃
┗━ ┻━ ━━ ┻━ ┻━ ━━ ━┛ ┗━ ━━ ┻━ ┻━ ━━ ━┛ ┗━ ┻━ ━━ ━┛ ┗━ ━━ ━┛
001 111 112 121 211 112 122 221 212 121 211 112 122 222 002 021 122 110 100 002 021 210 100
┏ ━━ ━━ ┓┏ ━┳ ━━ ━┳ ━━ ━━ ┓┏ ━━ ━━ ┓ ┏ ━━ ━━ ┓
┏ ━┳ ━┫ ┏ ━┳ ┻┫ ┃ ┏ ━┫ ┏ ━┳ ┻┫ ┃ ┃ ┏ ━┳ ┻━ ━━ ┓
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┗ ━┫ ┃ ┗ ━┻ ┳┫ ┗ ━┫ ┃ ┗ ━━ ┳━ ┛ ┗ ━┫ ┃ ┃
┗ ━┻ ━━ ━┻ ━┻ ━━ ━━ ┛┗ ━━ ━┻ ━┻ ━━ ━━ ┛ ┗ ━┻ ━━ ━━ ┛
001 111 112 121 211 112 122 221 212 121 211 112 122 222 002 121 122 111 111
A9A5 A9A7 A9B3 A9B7 A9BB A9BF A9C7 A9CF A9D7 A9DF A9EF
━ ┃ ┏ ┓ ┗ ┛ ┣ ┫ ┳ ┻ ╋
╳A9 ━A5┃A7┏B3┓B7┗BB┛BF┣C7┫CF┳D7┻DF╋EF
╳ □ □ □ □ □ □ □ □ □ □ □╳
━A5□━A5╋EF┳D7┳D7┻DF┻DF╋EF╋EF┳D7┻DF╋EF□
┃A7□╋EF┃A7┣C7┫CF┣C7┫CF┣C7┫CF╋EF╋EF╋EF□
┏B3□┳D7┣C7┏B3┣C7┣C7╋EF┣C7╋EF┳D7╋EF╋EF□
┓B7□┳D7┫CF┳D7┓B7╋EF┫CF╋EF┫CF┳D7╋EF╋EF□
┗BB□┻DF┣C7┣C7╋EF┗BB┻DF┣C7╋EF╋EF┻DF╋EF□
┛BF□┻DF┫CF╋EF┫CF┻DF┛BF╋EF┫CF╋EF┻DF╋EF□
┣C7□╋EF┣C7┣C7╋EF┣C7╋EF┣C7╋EF╋EF╋EF╋EF□
┫CF□╋EF┫CF╋EF┫CF╋EF┫CF╋EF┫CF╋EF╋EF╋EF□
┳D7□┳D7╋EF┳D7┳D7╋EF╋EF╋EF╋EF┳D7╋EF╋EF□
┻DF□┻DF╋EF╋EF╋EF┻DF┻DF╋EF╋EF╋EF┻DF╋EF□
╋EF□╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF□
╳ □ □ □ □ □ □ □ □ □ □ □╳
╳A9 ━A5┃A7┏B3┓B7┗BB┛BF┣C7┫CF┳D7┻DF╋EF
╳ □ □ □ □ □ □ □ □ □ □ □╳
┏B3□┳D7┣C7┏B3┣C7┣C7╋EF┣C7╋EF┳D7╋EF╋EF□
┓B7□┳D7┫CF┳D7┓B7╋EF┫CF╋EF┫CF┳D7╋EF╋EF□
┗BB□┻DF┣C7┣C7╋EF┗BB┻DF┣C7╋EF╋EF┻DF╋EF□
┛BF□┻DF┫CF╋EF┫CF┻DF┛BF╋EF┫CF╋EF┻DF╋EF□
┣C7□┣C7┃A7┣C7┃A7┣C7┃A7┣C7┃A7┣C7┣C7┣C7□
┫CF□┫CF┃A7┃A7┫CF┃A7┫CF┃A7┫CF┫CF┫CF┫CF□
┳D7□━A5┳D7┳D7┳D7━A5━A5┳D7┳D7┳D7━A5┳D7□
┻DF□━A5┻DF━A5━A5┻DF┻DF┻DF┻DF━A5┻DF┻DF□
╳ □ □ □ □ □ □ □ □ □ □ □╳
Last edited by sl543001 on 2010-2-26 at 16:11 ]
Post some intermediate data, not sure if anyone can understand:
┏━ ━━ ━┓ ┏━ ┳━ ━━ ┳━ ━━ ━┓ ┏━ ━━ ━┓ ┏━ ━━ ━┓ ┏━ ━━ ━┓
┏━ ┳━ ┫ ┏━ ┳┻ ┫ ┃ ┏━ ┫ ┏━ ┳┻ ┫ ┃ ┃ ┏━ ┳┻ ━━ ━┓ ┃ ┏━ ━┻ ━┓
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┗━ ┫ ┃ ┗━ ┻┳ ┫ ┗━ ┫ ┃ ┗━ ━┳ ━┛ ┗━ ┫ ┃ ┃ ┗━ ┫ ┃
┗━ ┻━ ━━ ┻━ ┻━ ━━ ━┛ ┗━ ━━ ┻━ ┻━ ━━ ━┛ ┗━ ┻━ ━━ ━┛ ┗━ ━━ ━┛
001 111 112 121 211 112 122 221 212 121 211 112 122 222 002 021 122 110 100 002 021 210 100
┏ ━━ ━━ ┓┏ ━┳ ━━ ━┳ ━━ ━━ ┓┏ ━━ ━━ ┓ ┏ ━━ ━━ ┓
┏ ━┳ ━┫ ┏ ━┳ ┻┫ ┃ ┏ ━┫ ┏ ━┳ ┻┫ ┃ ┃ ┏ ━┳ ┻━ ━━ ┓
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
┃ ┃ ┗ ━┫ ┃ ┗ ━┻ ┳┫ ┗ ━┫ ┃ ┗ ━━ ┳━ ┛ ┗ ━┫ ┃ ┃
┗ ━┻ ━━ ━┻ ━┻ ━━ ━━ ┛┗ ━━ ━┻ ━┻ ━━ ━━ ┛ ┗ ━┻ ━━ ━━ ┛
001 111 112 121 211 112 122 221 212 121 211 112 122 222 002 121 122 111 111
A9A5 A9A7 A9B3 A9B7 A9BB A9BF A9C7 A9CF A9D7 A9DF A9EF
━ ┃ ┏ ┓ ┗ ┛ ┣ ┫ ┳ ┻ ╋
╳A9 ━A5┃A7┏B3┓B7┗BB┛BF┣C7┫CF┳D7┻DF╋EF
╳ □ □ □ □ □ □ □ □ □ □ □╳
━A5□━A5╋EF┳D7┳D7┻DF┻DF╋EF╋EF┳D7┻DF╋EF□
┃A7□╋EF┃A7┣C7┫CF┣C7┫CF┣C7┫CF╋EF╋EF╋EF□
┏B3□┳D7┣C7┏B3┣C7┣C7╋EF┣C7╋EF┳D7╋EF╋EF□
┓B7□┳D7┫CF┳D7┓B7╋EF┫CF╋EF┫CF┳D7╋EF╋EF□
┗BB□┻DF┣C7┣C7╋EF┗BB┻DF┣C7╋EF╋EF┻DF╋EF□
┛BF□┻DF┫CF╋EF┫CF┻DF┛BF╋EF┫CF╋EF┻DF╋EF□
┣C7□╋EF┣C7┣C7╋EF┣C7╋EF┣C7╋EF╋EF╋EF╋EF□
┫CF□╋EF┫CF╋EF┫CF╋EF┫CF╋EF┫CF╋EF╋EF╋EF□
┳D7□┳D7╋EF┳D7┳D7╋EF╋EF╋EF╋EF┳D7╋EF╋EF□
┻DF□┻DF╋EF╋EF╋EF┻DF┻DF╋EF╋EF╋EF┻DF╋EF□
╋EF□╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF╋EF□
╳ □ □ □ □ □ □ □ □ □ □ □╋
╳A9 ━A5┃A7┏B3┓B7┗BB┛BF┣C7┫CF┳D7┻DF╋EF
╳ □ □ □ □ □ □ □ □ □ □ □╋
┏B3□┳D7┣C7┏B3┣C7┣C7╋EF┣C7╋EF┳D7╋EF╋EF□
┓B7□┳D7┫CF┳D7┓B7╋EF┫CF╋EF┫CF┳D7╋EF╋EF□
┗BB□┻DF┣C7┣C7╋EF┗BB┻DF┣C7╋EF╋EF┻DF╋EF□
┛BF□┻DF┫CF╋EF┫CF┻DF┛BF╋EF┫CF╋EF┻DF╋EF□
┣C7□┣C7┃A7┣C7┃A7┣C7┃A7┣C7┃A7┣C7┣C7┣C7□
┫CF□┫CF┃A7┃A7┫CF┃A7┫CF┃A7┫CF┫CF┫CF┫CF□
┳D7□━A5┳D7┳D7┳D7━A5━A5┳D7┳D7┳D7━A5┳D7□
┻DF□━A5┻DF━A5━A5┻DF┻DF┻DF┻DF━A5┻DF┻DF□
╳ □ □ □ □ □ □ □ □ □ □ □╋
Last edited by sl543001 on 2010-2-26 at 16:11 ]
|

SYBNQQ:354324773
|
|
2010-2-26 15:53 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
“短小精悍的鼠标程序”需要具备哪些功能?
What functions should a "compact and efficient mouse program" have?
|

 |
|
2010-2-26 18:30 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
功能多,体积小,最好小于1K
Multi-functional, small-sized, preferably less than 1K
|

SYBNQQ:354324773
|
|
2010-2-26 21:25 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2010-2-27 01:22 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
楼上提供的确实是好东西,要是有源码就更好了!
目前俺正在汇编开发游戏中必要的三方工具
利用DEBUG争取全部内嵌到脚本中,
尽量做到绿色单文件,不生成任何历史文件,
所以那些与汇编几十字节相比,相对庞大的几十KB的3方暂时还是....
What the person above provided is indeed good stuff. It would be even better if there were source codes! Currently, I'm developing the necessary third-party tools in assembly for games. Using DEBUG to try to embed all into the script as much as possible. Strive to make it green and a single file, without generating any historical files. So those third-party tools that are relatively large, tens of KB compared to the tens of bytes of assembly, are still...
|

SYBNQQ:354324773
|
|
2010-2-28 13:30 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
|
2010-3-1 11:32 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
在顶楼发布了最新的游戏截图,每张牌绘图耗时仅0.01秒哦!
绘制一张扑克的命令已经压缩至1行:
sybc 10000f1┏━━━━┓;:┃╳╳╳╳┃;:┃╳$f2SYBN$f1╳┃;:┃╳╳╳╳┃;:┃╳$fc2010$f1╳┃;:┃╳╳╳╳┃;:┗━━━━┛
Last edited by sl543001 on 2010-3-1 at 15:23 ]
The latest game screenshots are posted on the top floor. Each card drawing takes only 0.01 seconds!
The command to draw a poker has been compressed to 1 line:
sybc 10000f1┏━━━━┓;:┃╳╳╳╳┃;:┃╳$f2SYBN$f1╳┃;:┃╳╳╳╳┃;:┃╳$fc2010$f1╳┃;:┃╳╳╳╳┃;:┗━━━━┛
Last edited by sl543001 on 2010-3-1 at 15:23 ]
附件
1: ddzpb.GIF (2010-3-1 14:56, 7.74 KiB)
|

SYBNQQ:354324773
|
|
2010-3-1 14:47 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
16位程序参数长度限制124.
就差一点就好了,怎讨厌.截图也更新.
由于参数长度限制不得大于124,所以扑克右下角数字没有变色!
The length limit for 16-bit program parameters is 124.
It's just a little bit short, so annoying. Screenshots are also updated.
Because the parameter length limit is not allowed to be greater than 124, so the number in the lower right corner of the poker does not change color!
|

SYBNQQ:354324773
|
|
2010-3-2 14:39 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
略微修改sybc的参数设置,挤出了6个字节的代码,右下角终于可以变色了!
Slightly modified the parameter settings of sybc, extruded 6 bytes of code, and finally the lower right corner can change color!
|

SYBNQQ:354324773
|
|
2010-3-4 12:21 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
改用小尺寸扑克,节约出的代码解决接缝问题.
Use smaller size poker, the code saved solves the seam problem.
|

SYBNQQ:354324773
|
|
2010-3-5 10:27 |
|