Introduction: Notepad Word Game

Picture of Notepad Word Game

This is a game where you guess words.

Step 1: Open Notepad

Picture of Open Notepad

Open notepad. Please note that this project will crash on the last level. This was a remake project.

Step 2: Paste the Code:

Picture of Paste the Code:

My code can have some errors so please fix it. It's all about pargraphs

@echo off
color 8

:Start

Mode 50,30

echo Welcome to the word Guessing tournament 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)Exit Game

set /p choice=

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

if '%choice%' == '2' Exit

:Game

cls

echo Guess a word!

set /p word=

if '%word%' == 'cat' 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 An animal that has fur and night vision

pause

goto game

:Win1

cls

echo Correct!!

Pause

goto Game2

:Game2

cls

echo Guess a word! set /p word=

if '%word%' == 'turtle' 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 It is slow and live very long.

pause

goto game2

:Win1

cls

echo Correct Again!!

Pause

goto Game3

:Game3

cls

echo Guess a word!

set /p word= if '%word%' == 'Christmas' 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 Kid's favorite holiday! Don't foget the capital! pause goto game3

:Win3

cls

echo Wow! Your world of words are on fire!

Pause

goto Game4

:Game4

cls

echo Guess a word!

set /p word= if '%word%' == 'chair' 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 Something you sit on

pause goto game4

:Win4

cls

echo Weeeee!

pause

goto Round2

:Round2

cls

echo Haha! Guess two words! ex. honey-bees

set /p word= if '%word%' == 'honey-bees' 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 The answer in right[or maybe left] in front of you.

pause goto Round2

:wern

cls

echo Correct!!

Pause

goto Rgame

:Rgame

cls

echo remember your name! And do no more!

set /p word= if '%word%' == '' 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 I told you to think and do no more returning to previous level

pause goto Round2

:Rwind

cls

echo knocking out Pause

goto Start

Step 3: Save As a .bat File

Picture of Save As a .bat File

save it as a name that has .bat on the end.

Comments

ronanry (author)2017-03-29

That's a good begining :)

now, you have to think with "loop" (try to look at "for next" or "do while")

use more variable (guess1,guess2,guess3)

and use function

like :

guess1=cat

guess2=turtle

guess3=christmas

....

hint1=...

hint2=...

hint3=...

...

Switch a

case a==1

a=function_guess(guess1,hint1,2)

case a==2

a=function_guess(guess2,hint2,3)

case a==3

a=function_guess(guess3,hint3,4)

case a==4

echo "congrats, game is now over"

stop

end switch

function function_guess(toguess,thehint,futureA)

guess:

cls

echo "type your word or Hint for an Hint'

set /p word=

if '%word%' == toguess goto Exit

if '%word%' == 'Hint' echo thehint

goto guess

exit:

return futureA

end function

This
code is not good as it... it's only to give you some way to do it with
thing you can understand (i'm not anymore as good as i was in basic :p )

Swansong (author)2017-03-28

Thanks for sharing :)

About This Instructable

40views

1favorite

Bio: I'm just a kid who had some imagination (or not) to share with
More by turtletomy:Lego TopNotepad Word Game
Add instructable to: