loading
Hey, remember that movie with Matthew Brodrick made forever ago that you loved and always wanted to do. Wargames. You know, how he totally almost instigated a Global Thermonuclear War.

Well, now you can have "Joshua"

This is just a simple batch you can just copy paste this into notepad and save it as a Batch, but this took  me awhile to make and figure out so leave some comments!

Step 1: Copypasta

**********************
**********************
** MADE BY ITzEPiiC **
******* 2010 *********
**********************
**********************

@ECHO OFF

:header
title WOPR
cls
goto start

*********************************************************************************************

:start
color 0F
set name=
set /p name=Your name:
if '%name%'=='James' goto password
if not '%name%'=='James' goto lock

:password
set /p password=Password:
if '%password%'=='Joshua' goto unlock
if not '%password%'=='Joshua' goto lock

:lock
cls
echo Identification not recognized by system.
echo.
echo --Connection Terminated--
pause>nul
goto end

**********************************************************************************************

:unlock
cls
echo.
set /p a= Greetings %name%. 
echo.
set /p b= How are you feeling today? 
echo.
set /p c= It's been a long time. Can you explain the removal of your user account in 1983? 
echo.
set /p games= Its alright. Shall we play a game? (yes/no) 
if not '%games%'=='yes' goto hate
if '%games%'=='yes' goto games

**********************************************************************************************
:games
set /p games= Choose on of the following: Chess, Hearts, Spades. END OF LIST. 
if '%games%'=='Chess' goto chess
if '%games%'=='chess' goto chess
if '%games%'=='Hearts' goto hearts
if '%games%'=='hearts' goto hearts
if '%games%'=='Spades' goto spades
if '%games%'=='spades' goto spades
if '%games%'=='Global Thermonuclear War' goto GTW
if not '%games%'=='Chess' goto hate
if not '%games%'=='chess' goto hate
if not '%games%'=='Hearts' goto hate
if not '%games%'=='hearts' goto hate
if not '%games%'=='Spades' goto hate
if not '%games%'=='spades' goto hate

pause

*********************************************************************************************

:chess
start iexplore http://www.chess.com/play/computer.html
pause>nul

:hearts
start iexplore http://www.games.com/game-play/hearts/single/
pause>nul

:spades
start iexplore http://www.grab.com/games/play-spades
pause>nul

:GTW
start explore http://grognard.com/
pause>nul

**********************************************************************************************

:hate
cls
echo.
echo Okay, then screw you. I'm a computer, I don't need you, I haz the interwebz.
pause>nul

:end
exit


<p>how do you run it</p>
<p>gharrison it dosent work for your because your not supposed to coy thi thing on top of &quot;@echo off&quot;</p>
it just closes the file when i type in global thermonuclear war and does nothin any help? <br> <br>@ECHO OFF <br> <br>:header <br>title WOPR <br>cls <br>goto start <br> <br>********************************************************************************************* <br> <br>:start <br>color 0F <br>set name= <br>set /p name=Your name: <br>if '%name%'=='justin' goto password <br>if not '%name%'=='justin' goto lock <br> <br>:password <br>set /p password=Password: <br>if '%password%'=='Joshua' goto unlock <br>if not '%password%'=='Joshua' goto lock <br> <br>:lock <br>cls <br>echo Identification not recognized by system. <br>echo. <br>echo --Connection Terminated-- <br>pause&gt;nul <br>goto end <br> <br>********************************************************************************************** <br> <br>:unlock <br>cls <br>echo. <br>set /p a= Greetings %name%. <br>echo. <br>set /p b= How are you feeling today? <br>echo. <br>set /p c= It's been a long time. Can you explain the removal of your user account in 1983? <br>echo. <br>set /p games= Its alright. Shall we play a game? (yes/no) <br>if not '%games%'=='yes' goto hate <br>if '%games%'=='yes' goto games <br> <br>********************************************************************************************** <br>:games <br>set /p games= Choose on of the following: Chess, Hearts, Spades. END OF LIST. <br>if '%games%'=='Chess' goto chess <br>if '%games%'=='chess' goto chess <br>if '%games%'=='Hearts' goto hearts <br>if '%games%'=='hearts' goto hearts <br>if '%games%'=='Spades' goto spades <br>if '%games%'=='spades' goto spades <br>if '%games%'=='Global Thermonuclear War' goto GTW <br>if not '%games%'=='Chess' goto hate <br>if not '%games%'=='chess' goto hate <br>if not '%games%'=='Hearts' goto hate <br>if not '%games%'=='hearts' goto hate <br>if not '%games%'=='Spades' goto hate <br>if not '%games%'=='spades' goto hate <br>if not '%games%'=='Global Thermonuclear War' goto hate <br> <br>pause <br> <br>********************************************************************************************* <br> <br>:chess <br>start iexplore http://www.chess.com/play/computer.html <br>pause&gt;nul <br> <br>:hearts <br>start iexplore http://www.games.com/game-play/hearts/single/ <br>pause&gt;nul <br> <br>:spades <br>start iexplore http://www.grab.com/games/play-spades <br>pause&gt;nul <br> <br>:GTW <br>start iexplore <br>pause&gt;nul <br> <br>********************************************************************************************** <br> <br>:hate <br>cls <br>echo. <br>echo Okay, then screw you. I'm a computer, I don't need you, I haz the interwebz. <br>pause&gt;nul <br> <br>:end <br>exit
It doesn't work this is what I put in, please help me. <br>********************** <br> ********************** <br> ** MADE BY ITzEPiiC ** <br> ******* 2010 ********* <br> ********************** <br> ********************** <br> <br>@ECHO OFF <br> <br>:header <br> title WOPR <br> cls <br> goto start <br> <br>********************************************************************************************* <br> <br>:start <br> color 0F <br> set name= <br> set /p name=Your name: <br> if '%name%'=='James' goto password <br> if not '%name%'=='James' goto lock <br> <br>:password <br> set /p password=Password: <br> if '%password%'=='Joshua' goto unlock <br> if not '%password%'=='Joshua' goto lock <br> <br>:lock <br> cls <br> echo Identification not recognized by system. <br> echo. <br> echo --Connection Terminated-- <br> pause&gt;nul <br> goto end <br> <br>********************************************************************************************** <br> <br>:unlock <br> cls <br> echo. <br> set /p a= Greetings %name%. <br> echo. <br> set /p b= How are you feeling today? <br> echo. <br> set /p c= It's been a long time. Can you explain the removal of your user account in 1983? <br> echo. <br> set /p games= Its alright. Shall we play a game? (yes/no) <br> if not '%games%'=='yes' goto hate <br> if '%games%'=='yes' goto games <br> <br>********************************************************************************************** <br> :games <br> set /p games= Choose on of the following: Chess, Hearts, Spades. END OF LIST. <br> if '%games%'=='Chess' goto chess <br> if '%games%'=='chess' goto chess <br> if '%games%'=='Hearts' goto hearts <br> if '%games%'=='hearts' goto hearts <br> if '%games%'=='Spades' goto spades <br> if '%games%'=='spades' goto spades <br> if '%games%'=='Global Thermonuclear War' goto GTW <br> if not '%games%'=='Chess' goto hate <br> if not '%games%'=='chess' goto hate <br> if not '%games%'=='Hearts' goto hate <br> if not '%games%'=='hearts' goto hate <br> if not '%games%'=='Spades' goto hate <br> if not '%games%'=='spades' goto hate <br> <br>pause <br> <br>********************************************************************************************* <br> <br>:chess <br> start iexplore http://www.chess.com/play/computer.html <br> pause&gt;nul <br> <br>:hearts <br> start iexplore http://www.games.com/game-play/hearts/single/ <br> pause&gt;nul <br> <br>:spades <br> start iexplore http://www.grab.com/games/play-spades <br> pause&gt;nul <br> <br>:GTW <br> start explore http://grognard.com/ <br> pause&gt;nul <br> <br>********************************************************************************************** <br> <br>:hate <br> cls <br> echo. <br> echo Okay, then screw you. I'm a computer, I don't need you, I haz the interwebz. <br> pause&gt;nul <br> <br>:end <br> exit <br>set /p name=Your name: <br> if '%Gabe%'=='Gabe' goto password <br> if not '%Gabe%'=='Gabe' goto lock <br> set /p games= Choose on of the following: Chess, Hearts, Spades. END OF LIST.
Is there a way to get this to open in full screen??? <br>
how do you get it to work?!?!?!?!<br>
@zovits<br><br>&quot;So I'd recommend changing the relevant lines to these:<br><br>if '%games%'=='global thermonuclear war' goto GTW<br>goto hate&quot;<br><br>if your used that it would open what ever you put under GTW and then goto hate, which isnt what the program is supposed to do.<br><br>you wouldnt have it open a GTW game and then say i hate you., unless thats what you want it to do then yea, go for it.
also the Global Thermonuclear War is too long of an inout for the batch program, keeps coming up with unexpected error, then closes out, i shortened it to global and gtw and it worked fine.
Why is the line &quot;if not '%games%'=='Chess' goto hate&quot; even needed?<br>If the script's execution gets to that point, it is obvious that the value stored in the &quot;games&quot; variable is not recognized by any of the previous lines and so the only option is to jump to the &quot;hate&quot; label.<br><br>So I'd recommend changing the relevant lines to these:<br><br>if '%games%'=='global thermonuclear war' goto GTW<br>goto hate
i hope you don't mind but i just watched the movie and changed a few things, im still giving you credit but i made it a bit more like the movie. heres my code <br><br>**********************<br>**********************<br>** MADE BY ITzEPiiC **<br>******* 2010 *********<br>**********************<br>***TWIKED BY NICK*****<br>*****WELTER 2011******<br>**********************<br>**********************<br><br>@ECHO OFF<br><br>:header<br>title WOPR<br>cls<br>goto start<br><br>*********************************************************************************************<br><br>:start<br>color 0F<br>echo.<br>echo.<br>set name=<br>set /p name=Login: <br>if '%name%'=='Nick' goto password<br>if not '%name%'=='Nick' goto lock<br><br>:password<br>echo.<br>set /p password=Password: <br>if '%password%'=='Joshua' goto unlock<br>if not '%password%'=='Joshua' goto lock<br><br>:lock<br>cls<br>echo Identification not recognized by system.<br>echo.<br>echo --Connection Terminated--<br>pause&gt;nul<br>goto end<br><br>**********************************************************************************************<br><br>:unlock<br>cls<br>echo.<br>set /p a= Greetings %name%. <br>echo.<br>echo.<br>set /p b= How are you feeling today? <br>echo.<br>echo.<br>set /p c= It's been a long time. Can you explain the removal of your user account in 1983? <br>echo.<br>set /p games= Its alright. Shall we play a game? (yes/no) <br>echo.<br>if not '%games%'=='yes' goto hate<br>if '%games%'=='yes' goto games<br><br>**********************************************************************************************<br>:games<br>set /p games= Choose on of the following: Chess, Hearts, Spades. END OF LIST. <br>if '%games%'=='Chess' goto chess<br>if '%games%'=='chess' goto chess<br>if '%games%'=='Hearts' goto hearts<br>if '%games%'=='hearts' goto hearts<br>if '%games%'=='Spades' goto spades<br>if '%games%'=='spades' goto spades<br>if '%games%'=='Global Thermonuclear War' goto GTW<br>if '%games%'=='global thermonuclear war' goto GTW<br>if not '%games%'=='Chess' goto hate<br>if not '%games%'=='chess' goto hate<br>if not '%games%'=='Hearts' goto hate<br>if not '%games%'=='hearts' goto hate<br>if not '%games%'=='Spades' goto hate<br>if not '%games%'=='spades' goto hate<br><br>pause<br><br>*********************************************************************************************<br><br>:chess<br>start firefox http://www.chess.com/play/computer.html<br>pause&gt;nul<br><br>:hearts<br>start firefox http://www.games.com/game-play/hearts/single/<br>pause&gt;nul<br><br>:spades<br>start firefox http://www.grab.com/games/play-spades<br>pause&gt;nul<br><br>:GTW<br>start firefox http://www.2flashgames.com/f/f-551.htm<br>pause&gt;nul<br><br>**********************************************************************************************<br><br>:hate<br>echo.<br>echo O.K. I really wish we could have played a game together. Perhaps another time. Logging off user Nick.<br>pause&gt;nul<br><br>:end<br>exit<br><br>as you can see i changed it t have my name, and to open firefox. however i still cant get the GTW to work.. i also made the hate a bit nicer lol.i added some extra echos and space to clean it up a bit.
Nicely done. I loved that movie.

About This Instructable

5,608 views

22 favorites

License:

Bio: I'm Brandon. I program and make food that will most likely kill you. Then I make Instructables about them!
More by itzepiic: Finding data on an image Joshua Program How to Kill a Printer Effectively.
Add instructable to: