老是吞我的贴,再试一次。
(以下原为2楼内容)
效果如图,说起来这是个古董玩意了。
.
.
.
.
代码如下
-------------------------------------快速------------------------------------------
@echo off<nul 3<nul 2>nul 3>nul 4>nul&title Maze - Ao&%1cmd /v:on /c "%~0" /&for /l %%i in (,,) do (set/aa=!random!^&1&if !a!==1 (set/p=╱ ) else (set/p=╲ ))
-------------------------------------------------------------------------------------
.
.
-------------------------------------慢速------------------------------------------
@echo off<nul 3<nul&title Maze - Ao&set t=╱╲&%1cmd /v:on /c "%~0" /&for /l %%i in (,,) do (set/aa=!random!^&1&call set /p=%%t:~!a!,1%% )
-------------------------------------------------------------------------------------
如果有更简单更快速的实现欢迎分享~
(以下原为2楼内容)
效果如图,说起来这是个古董玩意了。
.
.
.
.
代码如下
-------------------------------------快速------------------------------------------
@echo off<nul 3<nul 2>nul 3>nul 4>nul&title Maze - Ao&%1cmd /v:on /c "%~0" /&for /l %%i in (,,) do (set/aa=!random!^&1&if !a!==1 (set/p=╱ ) else (set/p=╲ ))
-------------------------------------------------------------------------------------
.
.
-------------------------------------慢速------------------------------------------
@echo off<nul 3<nul&title Maze - Ao&set t=╱╲&%1cmd /v:on /c "%~0" /&for /l %%i in (,,) do (set/aa=!random!^&1&call set /p=%%t:~!a!,1%% )
-------------------------------------------------------------------------------------
如果有更简单更快速的实现欢迎分享~