Thread: my tic tac toe game, please try it

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    my tic tac toe game, please try it

    Ok, here is my new tic tac toe game. I re-wrote it because the old one had 100 more lines than needed, all global variables, and less features.It has 3 difficulty levels. Here is the new one, please try it out and tell me what you think. It's under 300 lines of code.

    PS. there was another guy that had a tic tac toe that kept score, thats where i got the score idea from.

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    27

    this shoudnt happen

    X | X | 3
    --+---+---
    4 | 5 | O
    --+---+---
    7 | 8 | 9
    It's a tie!Would you like to play again(y/n)?

    eazy mode person vs computer...


    Gr3g
    Chance favors the prepared mind.

    Vis. C++ 6.0

  3. #3
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    You should
    do some more error checking, like when you ask for difficulty and the user enters -1.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tic Tac Toe game
    By nafix in forum C Programming
    Replies: 6
    Last Post: 11-10-2007, 01:45 PM
  2. tic tac toe crashes :(
    By stien in forum Game Programming
    Replies: 4
    Last Post: 05-13-2007, 06:25 PM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. tic tac toe AI roadblock >:-(|)
    By dark_rocket in forum Game Programming
    Replies: 5
    Last Post: 06-12-2006, 05:13 AM
  5. not 3x3 tic tac toe game AI
    By Unregistered in forum Game Programming
    Replies: 9
    Last Post: 08-29-2001, 04:02 AM