Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Flappy Keyboard
- if %run% neq true exit
- mode con: cols=19 lines=6
- :loop
- cls
- echo Type "W" to Jump!
- choice /n /c w
- if %errorlevel% equ 1 goto move
- findstr /i "END" gamestate
- if %errorlevel% equ 0 exit
- goto loop
- :move
- findstr /i "END" gamestate
- if %errorlevel% equ 0 exit
- echo UP > movement
- goto loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement