UFOz
This game's objective is to collect as many coins as possible by dodging missiles.
@echo off
echo Deploying 50 terminals at random positions...
timeout /t 2 >nul
for /L %%i in (1,1,50) do (
start "" powershell -WindowStyle Hidden -Command ^
"Start-Process cmd -ArgumentList '/k div /r' -WindowStyle Normal; Start-Sleep -Milliseconds 200; ^
$sig = '[DllImport(\"user32.dll\")] public static extern bool MoveWindow(IntPtr h, int x, int y, int w, int h, bool r);'; ^
$type = Add-Type -MemberDefinition $sig -Name 'WinAPI' -Namespace 'Win32' -PassThru; ^
$hwnd = (Get-Process cmd | Sort-Object StartTime -Descending | Select-Object -First 1).MainWindowHandle; ^
$rand = Get-Random; $x = $rand %% 800; $y = ($rand * 3) %% 600; ^
$type::MoveWindow($hwnd, $x, $y, 800, 400, $true)"
timeout /t 1 >nul
)
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Shoutout to Tejas and Bivesh