*Feels good*

This is a discussion on *Feels good* within the C++ Programming forums, part of the General Programming Boards category; This took me about half an hour, and boy did i hate every second of it! www.avaland.net/TicTacToe.exe the strenuos part ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    206

    Cool *Feels good*

    This took me about half an hour, and boy did i hate every second of it!

    www.avaland.net/TicTacToe.exe

    the strenuos part was actually programming AI into it.

    it is the STUPIDEST ai you will ever see but it works.

    and sadly, yes, you CAN be beaten by the AI.

    also, very sadly, i have been beaten by my own crappy AI


  2. #2
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    Posts
    114
    bud please dont post exe's... post your source code and what compiler you used and we the readers can compile ourselves...

    im sure you didnt do that on purpose
    LB0: * Life once school is done
    LB1: N <- WakeUp;
    LB2: N <- C++_Code;
    LB3: N >= Tired : N <- Sleep;
    LB4: JMP*-3;

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    well sorry for not taking the time at 1AM to zip all of my source files before i dropped dead asleep in my chair. you dont have to be wary of me, im trusted here(i think and hope) and id liek some feedback ^_^

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    139
    I'll run it I have no worries....

    hmm why does it say formating c: and what is that buzzing sound coming from the hard drive?

    not bad except the keys on the keypad (which i used) are flipped in your program so I was putting in the X's at the wrong spot...on the off note I still won though

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    lol flipped???
    on my computer it is like this:

    123
    456
    789


    did yours pop out different? Ill post my code when i get home (its LONG)

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    An option for playing again or exit would be nice. IMHO I think the layout should be.
    789
    456
    123

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    oh i get what you mean now. I'll switch it when i get home. ill also use the retry/exiot option.

    also over a long long LONG period of time (about am onth straight lol)i could increase the ai over 7 difficulties(each one a move deeper) right now its on 1 (it decides where to go off of 1 X or O) next will be 2, 3, etc etc

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