![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 10:05 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Recommendation] SYBC Script Example Tutorial Color Gobang 10-04-18 Update |
| Printable Version 3,022 / 12 |
| Floor1 sl543001 | Posted 2010-04-17 22:48 |
| 中级用户 Posts 225 Credits 499 | |
|
There is an update on the 3rd floor, and there are screenshots here
To solve the problem of monotonous color and dull interface of CMD/BAT scripts, I have developed a tool called SYBC for making colorful scripts. This tool has been developed and updated for some time, and I have also made several colorful scripts based on SYBC for testing the stability and ease of use of SYBC. During this period, SYBC and its related script games have been updated synchronously to the current stable version 1.1.31, which has added full non-third-party support. However, the current latest tutorial is only an image tutorial prepared for version 1.1.21 on March 10th. It seems not so intuitive, detailed, and not easy to understand. And it does not mention some new calling methods, which can no longer meet everyone's needs obviously. So I am writing an official SYBC script tutorial here and, as required by netizens, adding the whole development process of the colorful version of the Go game script. Step by step, in the way of "code + screenshot + explanation", I will lead everyone to develop a full-color version of the Go game script together. In all the codes, the newly added or modified content will be marked in blue, so that everyone can easily find the parts that should be noted from a large number of codes. I hope this can help netizens better and more smoothly use SYBC to write their own colorful scripts and enrich everyone's script life. Everyone is welcome to contact me at QQ: 354324773 or join QQ group: 3401238 for any opinions, suggestions, puzzles and questions about SYBC and its related scripts and this tutorial. [ Last edited by sl543001 on 2010-4-18 at 23:06 ] Attachments SYBC脚本实例教程 (彩色五子棋)(上).rar (159.75 KiB) 5ZQ.GIF (23.84 KiB) |
|
| Floor2 yiqingnan | Posted 2010-04-18 10:57 |
| 初级用户 Posts 24 Credits 38 | |
|
Come often, come often
Thanks for sharing |
|
| Floor3 sl543001 | Posted 2010-04-18 22:53 |
| 中级用户 Posts 225 Credits 499 | |
|
Update:
Current contents I. Original Intention and Preface 2 II. Preparation Work – SYBC Framework Without Third - Party Modules 2 III. A Step to Break In – The Simplest Color Script 5 IV. First Example – Let's Play a 3 - in - a - Row Game First 6 V. Code Advancement – Fold Multiple Lines of Code into One Line 7 VI. Formal Start – Make a Two - color Sample of Gobang 8 VII. Important Step – Color the Game Interface 13 VIII. Fold Optimization – Reduce Code and Accelerate the Script 15 IX. Further Step – No Third Party, No Enter Key, Game Control 18 X. Stop for Tonight, Continue Tomorrow 23 XI. Preview 23 XII. Intelligent Judgment – Judge Whether Someone Has Two Lines of Five Pieces (Not Available for Now) 23 XIII. Additional Function – Add Thinking Timing and Battle Situation Statistics (Not Available for Now) 23 XIV. Automatic Update – Add Automatic Update Function to the Script (Not Available for Now) 23 XV. Recording Function – Add Recording Function and Record Results Upload Function (Not Available for Now) 23 XVI. Online Battle – Use ASP for Online Battle Between Players (Not Available for Now) 23 XVII. Artificial Intelligence – Add AI Intelligence of Various Levels to the Script (Not Available for Now) [ Last edited by sl543001 on 2010 - 4 - 18 at 22:57 ] Attachments SYBC脚本实例教程 (彩色五子棋) 2010-4-18.rar (232.16 KiB) |
|
| Floor4 ZJHJ | Posted 2010-04-19 20:55 |
| 高级用户 Posts 374 Credits 609 | |
|
Looking forward to SYBC supporting the mouse as soon as possible
|
|
| Floor5 sl543001 | Posted 2010-04-20 15:30 |
| 中级用户 Posts 225 Credits 499 | |
|
I updated SYBC to 1.1.37 yesterday, which supports writing data without overwriting the original position color, and it's a bit like echo. For example: call :SYBN 10000$##SYBN. $## means not adding new color
|
|
| Floor6 houwenhui | Posted 2010-07-09 18:04 |
| 新手上路 Posts 9 Credits 14 | |
|
So creative. So difficult. Hard to understand.
|
|
| Floor7 sl543001 | Posted 2010-07-10 22:02 |
| 中级用户 Posts 225 Credits 499 | |
|
Look at the tutorial, it's still relatively detailed
|
|
| Floor8 lin198159 | Posted 2010-07-13 01:52 |
| 初级用户 Posts 22 Credits 36 | |
|
It's still relatively detailed.
|
|
| Floor9 skhi | Posted 2010-07-19 12:14 |
| 新手上路 Posts 2 Credits 3 | |
|
Technical things, strongly support. Only through such in-depth research can we make breakthroughs and progress. I really admire the LZ. Hope the Gobang project will be completed as soon as possible.
|
|
| Floor10 sl543001 | Posted 2010-07-21 23:12 |
| 中级用户 Posts 225 Credits 499 | |
|
The color display part (SYBC three-party embedded) has passed the Windows 7 test and can be normally displayed in Windows 7!
|
|
| Floor11 sl543001 | Posted 2010-07-21 23:15 |
| 中级用户 Posts 225 Credits 499 | |
|
That is to say, all scripts that use SYBC for color display can be slightly modified, and by enabling third-party embedding, they can be used in Win7.
Modification plan: Add the third-party embedding template code at any position in the script Change all sybc parameters to call :sybc No other modifications are needed. From now on, say goodbye to the SYBC.COM file and use it directly in memory. |
|
| Floor12 Eisai | Posted 2010-07-29 19:57 |
| 新手上路 Posts 3 Credits 4 | |
|
Strong, learn and study...
|
|
| Floor13 acaigg | Posted 2010-12-27 22:08 |
| 初级用户 Posts 92 Credits 115 | |
|
Learn learn...
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |