Jump to content

Guess the number


Champion RD92

Recommended Posts

This thread reminds me of a batch file I made two weeks ago:

 

:A
@echo off
color 0e
title How many ponies
set /a guessnum=0
set /a answer=%RANDOM%
set variable1=PARTY
echo -------------------------------------------------
echo How Many Ponies? - By Jokuc
echo.
echo Guess how many ponies there is in Equestria
echo -------------------------------------------------
echo.
:B
echo.
set /a guessnum=0
set /a answer=%RANDOM%
set variable1=PARTY
set /p guess=
echo.
if %guess% GTR %answer% ECHO Too much Ponies!
if %guess% LSS %answer% ECHO Not enough Ponies!
if %guess%==%answer% GOTO C
set /a guessnum=%guessnum% +1
if %guess%==%variable1% ECHO TIME TO ACTIVATE PINKIE'S CHEAT CODES!: %answer%
goto B
:C
echo GRATZ, Cupcakes for you!
echo.
echo Took ya %guessnum% guesses.
echo.
goto A

Copy and paste this into notepad and save as "whatever.BAT"

Edited by Jokuc
  • Brohoof 1

img-2823101-1-UpBh15J.png

Link to comment
Share on other sites

  • 1 month later...
  • 11 years later...

32 

Spoiler

can we guess 2 numbers on the same post?

 


 

Name Yunie sparks

Occupation : Dabloone vendor at celestias castle

Contact : 241034444   (not irl phone number)

extra job : Screenshots

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...