text stringlengths 0 834k |
|---|
goto 1ac |
) |
if /i %d6% equ 6 ( |
set guess=6 |
goto 1ac |
) |
if /i %d9% equ 9 ( |
set guess=9 |
goto 1ac |
) |
) |
::~ This section checks that there is no way the noughts can win next turn by adding up the %o-% grid. If so it sets the guess to the right number and 'goto's 1ac. |
set guess=%time:~9,1% |
::~ If there is no way that the computer OR the player can win next turn, the computer chooses a random number as its guess. The random number I use is the millisecond digit of the clock. |
:1ac |
if /i %guess% equ 0 goto 1display |
echo !d%guess%! |
if /i NOT !d%guess%!==%guess% goto 1display |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.