A Simple Minigame Batch Game

by Cooler Reyes in Circuits > Computers

1649 Views, 5 Favorites, 0 Comments

A Simple Minigame Batch Game

F87936JI9UDQKSB.jpeg

Hey guys :D click here for my previous instructable, A Simple SOLDIER Batch Game- https://www.instructables.com/id/Simple-SOLDIER-Bat... so lets get back to the minigame thing :D well of course open notepad then copy paste this code:

@echo off
title Cooler Reyes Mini Game echo Welcome :D pause echo Would you like me to start the game? (y/n) set /p c= if %c%==y goto menu32 if %c%==n exit :menu32 cls echo Hi! im Dexter, how about you? set /p name= cls echo Nice to meet you %name%! pause cls echo What minigame do you want to play %name%? echo Math or Bignumber? set /p select= if %select%==Math goto mathquiz if %select%==Bignumber goto number :mathquiz cls echo You have chosen math %name%! pause echo Now you'll suffer! pause cls echo ok, first one :D pause echo 365+546? echo 1. 779 echo 2. 911 echo 3. 690 set /p choice1= if %choice1%==1 goto lose1 if %choice1%==2 echo You got me! if %choice1%==3 goto lose1 pause cls echo now, more difficult XD pause echo 650+765? echo 1. 1334 echo 2. 1565 echo 3. 1415 set /p choice2= if %choice2%==1 goto lose2 if %choice2%==2 goto lose2 if %choice2%==3 echo wooooow! pause cls echo your really good at this %name%! pause echo but not this time! pause echo 924+876? echo 1. 2000 echo 2. 1900 echo 3. 1800 set /p choice3= if %choice3%==1 echo You won the game!! congrats %name% :D if %choice3%==2 goto lose3 if %choice3%==3 goto lose3 cls :lose1 cls echo haha, you lose :D pause echo try again? (y/n) set /p kj= if %kj%==y goto mathquiz if %kj%==n exit cls :lose2 cls echo haha, you lose :D pause echo try again? (y/n) set /p kj= if %kj%==y goto mathquiz if %kj%==n exit cls :lose3 cls echo haha, you lose :D pause echo try again? (y/n) set /p kj= if %kj%==y goto mathquiz if %kj%==n exit cls :number1 cls echo ok lets play the thing you selected %name%! Big number!!! pause echo type set to go to settings set /p sets= if %sets%==set goto settings echo choose a number 1-10 set /p cnumber= if %cnumber%==1 echo i choose 2! I Win! Play Again? (y/n) set /p yorno= if %cnumber%==2 echo i choose 3! I Win! Play Again? (y/n) if %cnumber%==3 echo i choose 4! I Win! Play Again? (y/n) if %cnumber%==4 echo i choose 5! I Win! Play Again? (y/n) if %cnumber%==5 echo i choose 6! I Win! Play Again? (y/n) if %cnumber%==6 echo i choose 7! I Win! Play Again? (y/n) if %cnumber%==7 echo i choose 8! I Win! Play Again? (y/n) if %cnumber%==8 echo i choose 9! I Win! Play Again? (y/n) if %cnumber%==9 echo i choose 10! I Win! Play Again? (y/n) if %cnumber%==10 echo i choose 10! Tie! Play Again? (y/n) if %yorno%==y goto number if %yorno%==n exit cls :settings cls echo CHOOSE :D pause echo 1. I want me to always win echo 2. I want me to always lose set /p sets1= if %sets1%==1 goto number2 if %sets1%==2 goto number1 cls :number 2 cls echo ok lets play the thing you selected %name%! Big number!!! pause echo type set to go to settings set /p sets= if %sets%==set goto settings echo choose a number 1-10 set /p cnumber= if %cnumber2%==1 echo i choose 1! Tie! Play Again? (y/n) set /p yorno2= if %cnumber2%==2 echo i choose 1! You Win! Play Again? (y/n) if %cnumber2%==3 echo i choose 2! You Win! Play Again? (y/n) if %cnumber2%==4 echo i choose 3! You Win! Play Again? (y/n) if %cnumber2%==5 echo i choose 4! You Win! Play Again? (y/n) if %cnumber2%==6 echo i choose 5! You Win! Play Again? (y/n) if %cnumber2%==7 echo i choose 6! You Win! Play Again? (y/n) if %cnumber2%==8 echo i choose 7! You win! Play Again? (y/n) if %cnumber2%==9 echo i choose 8! You win! Play Again? (y/n) if %cnumber2%==10 echo i choose 9! You win! Play Again? (y/n) if %yorno2%==y goto number if %yorno2%==n exit

Then save it as, Minigame.bat and open it :D see it for yourself :D