source: 2016/27/SamuelN/Spam system/Game.bat @ 7803

Revision 7766, 1.2 KB checked in by karkaite, 4 years ago (diff)
Line 
1@echo off
2:menu
3cls
4echo Hello, welcome to My Game !
5echo what would you like to do?
6echo 1) start
7echo 2) instructions
8echo 3) exit
9set /p letter=
10
11if %letter% == 1 goto startgame
12if %letter% == 2 goto instruction
13if %letter% == 3 goto exit
14goto menu
15:startgame
16cls
17echo level 1
18echo Hello! enter your name:
19set /p name=
20echo hello, %name%!
21echo How are you?
22set /p lala=
23echo You are feeling %lala%?
24echo that's nice.
25pause
26echo I should go now.
27echo Bye %name%!!!
28echo next level? (yes or no)
29set /p wala=
30
31if %wala% == yes goto lvl2
32if %wala% == no goto menu
33goto startgame
34:exit
35exit
36goto exit
37:lvl2
38cls
39echo Hello! Your name is %name%? yes or no
40set /p yn=
41
42if %yn% == yes goto cool
43if %yn% == no goto aaw
44goto lvl2
45:cool
46echo Yay! i got it right!
47echo Back? (y/n) lower case only!
48set /p ynny=
49
50if %ynny% == y goto menu
51if %ynny% == n goto exit
52goto cool
53:instruction
54echo answer the computer and the computer will
55echo talk to you.
56echo back? (y/n) lower case only!
57set /p nyyn=
58
59if %nyyn% == y goto menu
60if %nyyn% == n goto exit
61goto instruction
62:aaw
63echo that's too bad.
64echo bye!
65pause
66exit
67goto aaw
Note: See TracBrowser for help on using the repository browser.