<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: codeing code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 28 Aug 2008 19:16:52 GMT</pubDate>
    <description>DZone Snippets: codeing code</description>
    <item>
      <title>Code Of A Game</title>
      <link>http://snippets.dzone.com/posts/show/5171</link>
      <description>This Is A Code Of A Game.&lt;br /&gt;&lt;br /&gt;Coppy It Into Notepad And Then Save It As Game.bat&lt;br /&gt;&lt;br /&gt;Warning!&lt;br /&gt;Make Sure It Says "All Files (*.*)" And Not "Text Document (.txt)" At The Bottom.&lt;br /&gt;The Code Is:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;@echo off&lt;br /&gt;goto verybegingame&lt;br /&gt;: verybegingame&lt;br /&gt;echo Welcome To This Game!&lt;br /&gt;title Game Start&lt;br /&gt;echo Press Any Key For Stuff.&lt;br /&gt;pause &gt;nul&lt;br /&gt;echo Loading...&lt;br /&gt;ping localhost 6 &gt;nul&lt;br /&gt;echo.. Loading Comple!&lt;br /&gt;pause &gt;nul&lt;br /&gt;cls&lt;br /&gt;echo Rules:&lt;br /&gt;title Game Rules&lt;br /&gt;echo..You Answer Each Question.&lt;br /&gt;echo. If It Is Correct, You Will Move On.&lt;br /&gt;echo If It is InCorrect, The Program Will&lt;br /&gt;echo Exit And You Will Need To Try Again.&lt;br /&gt;echo.. If You Get All The Questions Right, You&lt;br /&gt;echo Will Receave A Speical Code.&lt;br /&gt;echo Enter THe Code For A Suprse!&lt;br /&gt;echo...&lt;br /&gt;echo Good Luck!&lt;br /&gt;echo.....&lt;br /&gt;echo Press A Key Of An Option, And Then &lt;br /&gt;echo Press 'Enter'.&lt;br /&gt;echo...&lt;br /&gt;echo                        1 = Play Game          2 = Enter Code&lt;br /&gt;SET /P "onechoose1=Enter 1 or 2 option here:"&lt;br /&gt;If %onechoose1%= 1 then goto playgame&lt;br /&gt;If %onechoose1%= 2 then goto entercode&lt;br /&gt;:playgame&lt;br /&gt;cls&lt;br /&gt;echo What Is My Name?&lt;br /&gt;echo A.Jonathan&lt;br /&gt;echo B.Sam&lt;br /&gt;echo C.Johnn&lt;br /&gt;SET /p "q1=Enter Option:"&lt;br /&gt;If NOT%q1%= A then exit&lt;br /&gt;:entercode&lt;br /&gt;echo  Enter Code&lt;br /&gt;SET /P "codeenter= "&lt;br /&gt;If %entercode%=code... goto prize&lt;br /&gt;:prize&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;All Of ThAT...&lt;br /&gt;MAKE MORE QUESTIONS.&lt;br /&gt;etc.&lt;br /&gt;</description>
      <pubDate>Mon, 25 Feb 2008 01:01:48 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5171</guid>
      <author>jmprogrammer (Jonathan Moore)</author>
    </item>
  </channel>
</rss>
