Pages - Menu

Sunday, October 13, 2013

How to create mini game by notepad?

How to create mini game by notepad easily
Create a minigame

Now create a mini game

Now we learn how to create a mini game very easily and have fun with friends. It just like ABCD. follow the below instruction and being a programmer and a game create.

lets start.
Open notepad and start typing the all below codes.









\/
@echo off
cls
echo LOADING GAME...
ping localhost -n 5 >nul
@echo off

:loop
:menu
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0e
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:menu1
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0a
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:menu2
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0b
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:menu3
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0c
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:menu4
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0d
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:menu5
cls
color 0b
echo The Quizz Game
ping localhost -n 5 >nul

color 0f
:loop
:menu
echo copyrite Shazy 2013

echo===========
echo 1)Start
echo 2)Options/Info
echo 3)exit
echo===========
set /p hi=

if not defined hi (
cls
goto loop
)

if %hi% == 1 goto Game
if %hi% == 2 goto Options/Info
if %hi% == 3 exit

:game
cls
echo Name?
set /p name=
echo Hello %name%! Would you like to start

(y/n)
set /p start=

if %start% == y goto lvl1
if %start% == Y goto lvl1
if %start% == n goto menu
if %start% == N goto menu
goto start game

:Options/Info
cls
echo============================
echo The Quiz Game, is a game of IQ.
echo This game will ask you a variety of

questions,
echo some may be hard and some may be easy,
echo but thats for You to find out
echo============================
echo choose a Menu Colour
echo colours=0a,Light Green/ 0b,Light Aqua/

0c,Light Red/ 0d,Light purple/
echo 0e,Light Yellow/ 0f,White
set /p color=
%color%

if %color%== 0a goto menu1
if %color%== 0b goto menu2
if %color%== 0c goto menu3
if %color%== 0d goto menu4
if %color%== 0e goto menu
if %color%== 0f goto menu5

:lvl1
cls
echo lvl 1
echo what does 1+2+3+4+5+6+7+8+9 equal
echo a.45
echo b.50
echo c.62
echo d.55
set /p ha=

if %ha% == a goto crl
if %ha% == b goto wrl
if %ha% == c goto wrl
if %ha% == d goto wrl
goto lvl1

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p ha=

if %ha% == y goto lvl2
if %ha% == Y goto lvl2
if %ha% == n goto lvl1
if %ha% == N goto lvl1
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl1
if %start% == Y goto lvl1
if %start% == n goto menu
if %start% == N goto menu
goto start game

:lvl2
cls
echo lvl 2
echo which planet is the 5th from the sun?
echo a.Venus
echo b.Jupiter
echo c.Uranus
echo d.Earth
set /p hi=

if %hi% == a goto wrl
if %hi% == b goto crl
if %hi% == c goto wrl
if %hi% == d goto wrl
goto lvl2

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl3
if %hi% == Y goto lvl3
if %hi% == n goto lvl2
if %hi% == N goto lvl2
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl2
if %start% == Y goto lvl2
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl3
cls
echo lvl 3
echo which of the following colours has the

most pigments?
echo a.Blue
echo b.Orange
echo c.Brown
echo d.Red
set /p hi=

if %hi% == a goto wrl
if %hi% == b goto wrl
if %hi% == c goto crl
if %hi% == d goto wrl
goto lvl3

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl4
if %hi% == Y goto lvl4
if %hi% == n goto lvl3
if %hi% == N goto lvl3
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl3
if %start% == Y goto lvl3
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl4
cls
echo lvl 4
echo who was the first man launched in to

space?
echo a.Mike Collins
echo b.Neil Armstrong
echo c.Yuri gagarin
echo d.Buzz Aldrin
set /p hi=

if %hi% == a goto wrl
if %hi% == b goto wrl
if %hi% == c goto crl
if %hi% == d goto wrl
goto lvl4

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl5
if %hi% == Y goto lvl5
if %hi% == n goto lvl4
if %hi% == N goto lvl4
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl4
if %start% == Y goto lvl4
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl5
cls
echo lvl 5
echo Who was the Original owner of Apple?
echo a.Steve Jobs
echo b.Bill Gates
echo c.Jeorge Lucas
echo d.Harry Potter
set /p hi=

if %hi% == a goto crl
if %hi% == b goto wrl
if %hi% == c goto wrl
if %hi% == d goto wrl
goto lvl5

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl6
if %hi% == Y goto lvl6
if %hi% == n goto lvl5
if %hi% == N goto lvl5
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl5
if %start% == Y goto lvl5
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl6
cls
echo lvl 6
echo Which of these deceased singers was

assasinated?
echo a. Freddie Mercury
echo b. John Lennon
echo c. Elvis Presley
echo d. Michael Jackson
set /p hi=

if %hi% == a goto wrl
if %hi% == b goto crl
if %hi% == c goto wrl
if %hi% == d goto wrl
goto lvl6

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl7
if %hi% == Y goto lvl7
if %hi% == n goto lvl6
if %hi% == N goto lvl6
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl6
if %start% == Y goto lvl6
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl7
cls
echo lvl 7
echo Who created the first light bulb?
echo a. Thomas Edison
echo b. Hiram Stevens
echo c. Joseph Swan
echo d. Albert Einstein
set /p hi=

if %hi% == a goto crl
if %hi% == b goto wrl
if %hi% == c goto wrl
if %hi% == d goto wrl
goto lvl6

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl8
if %hi% == Y goto lvl8
if %hi% == n goto lvl7
if %hi% == N goto lvl7
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl7
if %start% == Y goto lvl7
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off

:lvl8
cls
echo lvl 8
echo how old was Sir Edmund Hillary when he

died?
echo a. 79
echo b. 92
echo c. 86
echo d. 88
set /p hi=

if %hi% == a goto wrl
if %hi% == b goto wrl
if %hi% == c goto wrl
if %hi% == d goto crl
goto lvl6

:crl
echo Correct!
echo.
echo Continue? (y/n)
set /p hi=
if %hi% == y goto lvl9
if %hi% == Y goto lvl9
if %hi% == n goto lvl8
if %hi% == N goto lvl8
goto crl

:wrl
echo wrong
echo .
pause
cls
echo Retry? (y/n)
set /p start=

if %start% == y goto lvl8
if %start% == Y goto lvl8
if %start% == n goto menu
if %start% == N goto menu
goto start game
@echo off


Now save it any location with game.bat
Done
now you run the bat file & follow instruction & play the game.
Have fun with friends.

thanks
Share & enjoy.

No comments: