Skip to content

Instantly share code, notes, and snippets.

@TheTenPlusTen
Created June 12, 2021 21:26
Show Gist options
  • Save TheTenPlusTen/4afdc6428d35619d8eea690fdc7da095 to your computer and use it in GitHub Desktop.
Save TheTenPlusTen/4afdc6428d35619d8eea690fdc7da095 to your computer and use it in GitHub Desktop.
i made this but it prob absolutely sucks
@echo off
title You're a calculator! (beta 1.6.1)
color 12
:menu
cls
echo.
echo 1 percent loaded...
ping localhost -n 0.7 >nul
cls
echo 7 percent loaded...
ping localhost -n 1 >nul
cls
echo 19 percent loadad...
ping localhost -n 1 >nul
cls
echo 27 percent loaded...
ping localhost -n 1 >nul
cls
echo 36 percent loaded...
ping localhost -n 0.6 >nul
cls
echo 47 percent loaded...
ping localhost -n 0.4 >nul
cls
echo 55 percent loaded...
ping localhost -n 2 >nul
cls
echo 66 percent loaded...
ping localhost -n 2 >nul
cls
echo 76 percent loaded...
ping localhost -n 0.9 >nul
cls
echo 87 percent loaded...
ping localhost -n 0.1 >nul
cls
echo 99 percent loaded...
ping localhost -n 2 >nul
cls
echo 100 percent loaded!!
ping localhost -n 2 >nul
if 2+2==4+0 goto pitxt
:pitxt
cls
echo.
type pi.txt
echo.
ping localhost -n 3 >nul
goto chmenu
:chmenu
cls
echo Fully loaded!
echo.
echo 1. Be a calculator
echo 2. Info (Instructions)
echo 3. How to win
echo 4. Credits
echo 5. Changelog
echo 6. Medals
echo 7. Save Your Game
echo 8. Exit
set /p choice=
if %choice% == 1 goto be
if %choice% == 2 goto in
if %choice% == 3 goto to
if %choice% == 4 goto cr
if %choice% == 5 goto cha
if %choice% == 6 goto med
if %choice% == 7 goto sav
if %choice% == 8 exit
:sav
(
echo %bronze%
echo %q1%
echo %two%
echo %%
echo %%
echo %%
echo %%
echo %%
echo %%
echo %%
echo %%
) > savegame.sav
:med
cls
echo This is a list of the medals you have earned!
echo.
echo %bronze%
echo %starter%
echo %allbr%
:cr
cls
echo BE A CALCULATOR
echo.
echo STAFF:
echo.
echo KIRK NAPIER
echo KIRA NAPIER
echo DARREN SCOTT NAPIER
echo ISABELLA NAPIER
echo.
echo.
echo.
echo.
echo.
echo T H E
echo E N D
pause
goto menu
:cha
cls
echo Scroll down with your mouse if you can't see it all.
echo.
echo CHANGELOG:
echo.
echo v.beta 1.0
echo Be a Calculator is released.
echo.
echo v.beta 1.02
echo How to win is added.
echo.
echo v.beta 1.07
echo Options is added.
echo Bugs fixed.
echo.
echo v.beta 1.2
echo Bugs fixed in Options.
echo More bugs fixed in Options.
echo.
echo v.beta 1.27
echo Removed Options.
echo Tested Changelog.
echo.
echo v.beta 1.28
echo Added Changelog.
echo v.beta 1.3
echo Changed logo.
echo.
echo v.beta 1.4
echo Added Medals menuchoice
echo.
echo v.beta 1.5
echo Bug fixes
echo Loading time shortened by a lot
echo Medals issues discovered
echo.
echo v.beta 1.6
echo New menus
echo Even faster loading times
echo Finishing game is now possible
echo.
echo v.beta 1.6.1
echo Working on adding a "skip problem but you don't get that medal" button
echo Working on adding an "INFINITE PROBLEMS!!!" mode
echo coming in v.beta 1.7
echo.
echo v.beta 1.6.2
echo Working on adding a save game menuchoice
pause
ping localhost -n 5 >nul
goto chmenu
:to
cls
echo I promised you I would
echo show you how to win, so
echo here I go.
echo Actually, you take a tutorial.
echo Here it goes.
pause
goto pract
:pract
cls
echo 33 Note: Get it right or the
echo +33 game sets this problem again.
echo ___
set /p train= Type answer:
if %train% == 66 goto good
goto pract
:good
cls
echo Good job!
pause
cls
echo I will reward you with...
echo One bronze medal!
pause
cls
echo Please type the name of the medal you just earned...
echo and then press Enter...
echo so it will save your data!
echo Type here:
set /p bronze=
pause >nul
echo Complete harder challenges to get better medals.
pause
cls
echo 11 percent loaded
ping localhost -n 2 >nul
cls
echo 15 percent loaded
ping localhost -n 0.9 >nul
cls
echo 75 percent loaded
ping localhost -n 0.7 >nul
cls
echo 82 percent loaded
ping localhost -n 1 >nul
cls
echo 100 percent loaded!
ping localhost -n 1 nul
goto chmenu
:in
cls
echo This is where you
echo learn how to play.
echo.
echo If you played the "how to win"
echo option, you should know how to play a little bit.
pause
cls
echo Have you played "how to win?" (yes or no)
set /p yn=
if %yn% == yes goto yeslv
if %yn% == no goto nolv
:nolv
cls
echo Since you haven't checked "how to win" out,
echo I'll give you the basic rules.
pause
cls
echo.
echo DO:
echo Answer the math question as
echo fast as you can.
echo.
echo Try to get better medals
echo each time you complete a question.
echo.
echo DON'T:
echo Panic. Each time you miss one, you don't fail.
echo You just start that question over again.
echo.
echo Give up. Then, you will never complete
echo ANY of the questions. (duh)
pause
cls
echo Got it now? Well I'm sure you do.
pause
goto menu
:yeslv
cls
echo Since you have done "how to win," you get a question to do.
pause
cls
echo 21
echo x04
echo ____
set /p htw=
if %htw% == 84 goto better
goto yeslv
:better
cls
echo You passed the level!
echo.
echo.
echo You get a training medal!
pause
goto menu
:be
cls
echo Question 1:
pause
cls
echo 256
echo x 2
echo ____
set /p q1=
if %q1% == 512 goto medal
goto be
:medal
cls
echo You earned a starter medal!
pause
cls
echo Please type "Starter Medal" into the text field so your data can save!
set /p starter=
pause
goto q2
:q2
cls
echo The next question:
pause
cls
echo 400
echo -398
echo ___
set /p two=
if %two% == 2 goto medalb
goto q2
:medalb
cls
echo You got the Going Up medal!
echo Soon, you will move to a silver rank!
pause
goto q3
:q3
cls
echo Here it goes:
pause
cls
echo 22
echo +43
echo ___
set /p three=
if %three% == 65 goto medalc
if not %three% == 65 goto q3
:medalc
cls
echo You earned your final bronze medal!
pause
cls
echo Please type the name you would like to give your
echo medal! (e.g. bronze, medal, Bronze medal.)
set /p allbr=
echo Good luck on the next one!
pause
goto q4
:q4
cls
echo Question 4:
pause
cls
echo 4
echo / 2
echo ____
set /p four=
if %four% == 2 goto medald
if not %four% == 2 goto q4
:medald
cls
echo You did it! You got a silver medal!
echo Keep up the good work!
pause
goto q5
:q5
cls
echo Another question for you!
pause
cls
echo 4
echo -5
echo __
set /p five=
if %five% == -1 goto metale
if not %five% == -1 goto q5
:metale
cls
echo You earned another silver medal!
echo Just 6 more silver medals to go!
pause
goto q6
:q6
cls
echo What is...
pause
cls
echo 7
echo -7
echo __
set /p six=
if %six% == 0 goto metalf
if not %six% == 0 goto q6
:metalf
cls
echo Once again... You should be proud of yourself!
echo 3/8 silver medals eaarned.
pause
goto q7
:q7
cls
echo Here we go...
pause
cls
echo 4,456
echo -4,309
echo ______
set /p seven=
if %seven% == 147 goto medalg
if not %seven% == 147 goto q7
:medalg
cls
echo Nice going!
echo 4/8 silver medals earned.
pause
goto q8
:q8
cls
echo Here we go...
pause
cls
echo 304
echo -251
echo ____
set /p eight=
if %eight% == 53 goto medalh
if not %eight% == 53 goto q8
:medalh
cls
echo Good job... Again!
echo 5/8 silver medals earned.
pause
goto q9
:q9
cls
echo Again... hard one! be careful!
pause
cls
echo 358 Note: It has a .5 after it.
echo / 14
echo ____
set /p nine=
if %nine% == 25.5 goto medali
if not %nine% == 25.5 goto q9
:medali
cls
echo Awesome!
echo 6/8 silver medals completed.
pause
goto q10
:q10
cls
echo Ready?
pause
cls
echo 256
echo x 8
echo ____
set /p ten=
if %ten% == 2048 goto medalj
if not %ten% == 2048 goto q10
:medalj
cls
echo Nice going! Keep it up!
echo 7/8 silver medals earned.
pause
goto q11
:q11
cls
echo After this, I'll let you take a break...
pause
cls
echo 455
echo -328
echo ____
set /p eleven=
if %eleven% == 127 goto medalk
if not %eleven% == 127 goto q11
:medalk
cls
echo You earned your last silver medal!
echo 8/8 silver medals earned.
pause
goto break
:break
cls
echo You need a break... at least... I want you to have one.
echo A one minute break.
ping localhost -n 60 >nul
pause
goto q12
:q12
cls
echo Ok... Get ready!
pause
cls
echo 528
echo +443
echo ____
set /p twelve=
if %twelve% == 971 goto medall
if not %twelve% == 971 goto q12
:medall
cls
echo Woo!
echo 1/4 gold medals earned.
pause
goto q13
:q13
cls
echo What is...
pause
cls
echo 15
echo x 4
echo ____
set /p thirteen=
if %thirteen% == 60 goto medalm
if not %thirteen% == 60 goto q13
:medalm
cls
echo Awesome! Keep it up!
echo 2/4 gold medals earned.
pause
goto q14
:q14
cls
echo Ok...
pause
cls
echo 368
echo +465
echo ____
set /p fourteen=
if %fourteen% == 833 goto medaln
if not %fourteen% == 833 goto q14
:medaln
cls
echo Awesome! Seriously, keep it up!
echo 3/4 gold medals earned.
pause
goto q15
:q15
cls
echo Your fifteenth problem...
echo.
echo 1nf1n17(3)
echo xg00g0(1)
echo ___
set /p fifteen=
if %fifteen% == nil goto medalo
if not %fifteen% == nil goto q15
:medalo
cls
echo If you got THAT right, you deserve your FINAL MEDAL,
echo the ULTIMATE GOLD MEDAL!
pause
goto mm
:mm
cls
echo Please type (without quotes) "Ultimate Gold Medal" so we can remember your save.
set /p medalo=
if medalo == Ultimate Gold Medal goto go
if not medalo == Ultimate Gold Medal goto mm
:go
cls
echo More levels coming soon!
echo.
pause
cls
ping localhost -n 1 >nul
color f1
ping localhost -n 1 >nul
color f2
ping localhost -n 1 >nul
color f3
ping localhost -n 1 >nul
color f4
ping localhost -n 1 >nul
color f5
ping localhost -n 1 >nul
color f6
ping localhost -n 1 >nul
color f7
ping localhost -n 3 >nul
goto rrgghh
:rrgghh
cls
echo Would you like to see credits? (yes or no)
set /p ccc
nothing %ccc% == yes goto cr
if not %ccc% == yes goto menu
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment