Introduction: Making a Game With Notepad

Today i will teach you how to make your own game with note pad.

This Game will be a number guessing Game.

Step 1: How to Make the Game

First Open Notepad

Type @echo off (Will Only Show what we type and not the code)

Now were gonna do are title (Title Shows the Name of the game at the top of the game screen)

Go to the next line and Type Title Number Guessing Game

Now were Gonna Type :Start on the Next line (That Says its the begining of the game)

Then On the next line Type Mode 50,30 (50 is the game screen width and 30 is the height)

Now we can star writing the game

Type Whats Below:

echo Welcome to my Number Guessing Game
echo Please Enter Your Name

set /p name=
if '%name%' == '' goto Begin

:Begin
cls
echo %name% What do you want to do?

echo.
echo 1)Start Game

echo 2)Change Color
echo 2)Exit Game

set /p choice=
if '%choice%' == '1' goto Game
if '%choice%' == '2' Exit

:Game
cls

echo Guess a number between 1-100
set /p number=

if '%number%' == '23' goto Win1
cls

echo Incorrect!!
echo 1)Guess Again

echo 2)Hint
set /p choice=

if '%choice%' == '1' goto Game
if '%choice%' == '2' goto Hint

:Hint
cls

echo Its in the 20's
pause

goto game
:Win1

cls
echo Correct!!

Pause
goto Game2

:Game2
cls

echo Guess a number between 1-100
set /p number=

if '%number%' == '47' goto Win1
cls

echo Incorrect!!
echo 1)Guess Again

echo 2)Hint
set /p choice=

set /p choice=
if '%choice%' == '1' goto Game2

if '%choice%' == '2' Hint2
:Hint2

cls
echo Its in the 40's

pause
goto game2

:Win1
cls

echo Correct Again!!
Pause

goto Game3
:Game3

cls
echo Guess a number between 1-100

set /p number=
if '%number%' == '62' goto Win3

cls
echo Incorrect!!

echo 1)Guess Again
echo 2)Hint

set /p choice=
if '%choice%' == '1' goto Game3

if '%choice%' == '2' Hint3
:Hint3

cls
echo Its in the 60's

pause
goto game3

:Win3
cls

echo Wow your on a roll!!
Pause

goto Game4
:Game4

cls
echo Guess a number between 1-100

set /p number=
if '%number%' == '87' goto Win4

cls
echo Incorrect!!

echo 1)Guess Again
echo 2)Hint

set /p choice=
if '%choice%' == '1' goto Game4

if '%choice%' == '2' Hint4
:Hint4

cls
echo Its in the 80's

pause
goto game4

:Win4
cls

echo Right Again!!
pause

goto Round2
:Round2

cls
echo Guess a number between 1-200

set /p number=
if '%number%' == '145' goto wern

cls
echo Incorrect!!

echo 1)Guess Again
echo 2)Hint

set /p choice=
if '%choice%' == '1' goto Round2

if '%choice%' == '2' Hintx
:Hintx

cls
echo Its in the 100's

pause
goto Round2

:wern
cls

echo Correct!!
Pause

goto Rgame
:Rgame

cls
echo Guess a number between 1-200

set /p number=
if '%number%' == '92' goto Rwind

cls
echo Incorrect!!

echo 1)Guess Again
echo 2)Hint

set /p choice=
if '%choice%' == '1' goto Rgame

if '%choice%' == '2' hintss
:hintss

cls
echo Its in the 90's

pause
goto Round2

:Rwind
cls

echo You've One The Game!!
Pause

goto Start

Step 2: How to Save and Play Game

Save as Guessing Game.bat

to Run Game double click on it or right click and open

Comments

author
jeromesaaali (author)2017-04-21

this is great

author

hello

author
ice400 (author)2015-03-21

hey raven, do u still want to do the batch with me

author
ice400 (author)ice400 2015-03-21

please

About This Instructable

3,417views

6favorites

License:

Bio: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven
More by Raven Codes:Making a game with notepadBatch File TimerCustom Alarm Clock with notepad
Add instructable to: