Best game ever(because its the quickest and easiest)

This is a discussion on Best game ever(because its the quickest and easiest) within the C++ Programming forums, part of the General Programming Boards category; #include <iostream.h> #include <conio.h> int main(0) { char choice1, choice2; int x; x=0 cout<<"\nReady to begin the game?"; cin>>choice1; if ...

  1. #1
    His posts are far and few Esparno's Avatar
    Join Date
    Mar 2002
    Posts
    100

    Best game ever(because its the quickest and easiest)

    #include <iostream.h>
    #include <conio.h>
    int main(0)
    {
    char choice1, choice2;
    int x;
    x=0
    cout<<"\nReady to begin the game?";
    cin>>choice1;
    if ((choice1!='Y')||(choice1!='y'))
    cout<<"\nToo bad! Keep playing";
    A:
    x=x+1;
    cout<<"\n";
    if (x!=50)
    goto A;
    B:
    cout<<"Attack the enemy?";
    cin>>choice2;
    if ((choice2!='Y')||(choice2!='y'))
    {
    cout<<"\nwhy dont you want to attack? You really should you know...";
    system("pause");
    goto B;
    }
    cout<<"\nYou attack your enemy and it dies";
    cout<<"\nThe end";
    system ("pause");
    return(0);
    }



    Oh yea, got to love the best game ever!!!!
    Isnt this the best game ever?
    Signature is optional, I didnt opt for one.

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    aaaannnnndddd... i'm scared...

  3. #3
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Wow, that's great.... but you used goto's... naughty naughty

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    13
    Im making an aimbot for it as I type....

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    3

    Aimbot?

    what the heck is an aimbot? please enlighten me and esparno

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21