A color batch script based on a micro external command , the basic part has been basically completed! The entire code is controlled within 10KB.
This is the basic test version. More creative game modes will be added in the future. Everyone is welcome to provide opinions and suggestions!
New development: Developing a new external command to improve the development speed!
Complete a demo file using the new external command SYBN dll
http://www.cn-dos.net/forum/viewthread.php?tid=50188&fpage=1
-------------------------------------------------------------------------------------
This is a technical post, so there must be content. I will add and modify code explanations from time to time!
『Building 3』: Explanation: Color output of the sybc command
『Building 4』: Explanation: Keyboard input of sybc and DEBUG calling binary program
『Building 5』: Explanation: Map compression
『Building 6』: Explanation: Map verification
『Building 7』: Explanation: Random map generation
『Building 11』: Explanation: Reasons for incompatibility with 2K3
『Building 12』: Explanation: About DEBUD
......Wait for the future, add more explanations......
Other code explanations will be attached later. If you have any questions, please reply!
Recent development: Recently busy with final exams, and am preparing to separate the basic functions and make them into a library-like form. Then when writing other scripts, I can just insert it all at once and use it.
Another mood: I find that writing explanations is much easier than writing code. It may not be possible to squeeze out a few lines of code after thinking hard for hours. In the end, an optimization may make it even fewer lines - -! Writing code explanations is much easier, and it comes out in a few minutes!
Of course, my code first prioritizes reducing the size , and does not consider readability, so there are no comments at all. It may be more difficult to read. If you have questions, please reply. If there are no questions, please also reply to support, hehehe!
[ Last edited by sl543001 on 2010-2-5 at 16:29 ]
This is the basic test version. More creative game modes will be added in the future. Everyone is welcome to provide opinions and suggestions!
New development: Developing a new external command to improve the development speed!
Complete a demo file using the new external command SYBN dll
http://www.cn-dos.net/forum/viewthread.php?tid=50188&fpage=1
-------------------------------------------------------------------------------------
This is a technical post, so there must be content. I will add and modify code explanations from time to time!
『Building 3』: Explanation: Color output of the sybc command
『Building 4』: Explanation: Keyboard input of sybc and DEBUG calling binary program
『Building 5』: Explanation: Map compression
『Building 6』: Explanation: Map verification
『Building 7』: Explanation: Random map generation
『Building 11』: Explanation: Reasons for incompatibility with 2K3
『Building 12』: Explanation: About DEBUD
......Wait for the future, add more explanations......
Other code explanations will be attached later. If you have any questions, please reply!
Recent development: Recently busy with final exams, and am preparing to separate the basic functions and make them into a library-like form. Then when writing other scripts, I can just insert it all at once and use it.
Another mood: I find that writing explanations is much easier than writing code. It may not be possible to squeeze out a few lines of code after thinking hard for hours. In the end, an optimization may make it even fewer lines - -! Writing code explanations is much easier, and it comes out in a few minutes!
Of course, my code first prioritizes reducing the size , and does not consider readability, so there are no comments at all. It may be more difficult to read. If you have questions, please reply. If there are no questions, please also reply to support, hehehe!
[ Last edited by sl543001 on 2010-2-5 at 16:29 ]
Recent Ratings for This Post
( 4 in total)
Click for details
