Thread: Blocking columns

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    Blocking columns

    Lets say I have a 3D Tic Tac Toe program in which I have the computer work so that it blocks any row that contains three x's

    Now it works by blocking the rows, but when we use the same algorithm for the columns it doesnt seem to fucntion

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Using my astounding mental abilities, I attempt to peer into the mind of you, and read the code that you neglected to post...

    "Ah, there is your problem." I state boldly. "And here, like you, I'll post the answer. You can now use your astounding mental abilities to peer into my mind and read the answer!"

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Unregistered
    Guest
    I would suggest posting some code first. This normally helps to locate problems with algorithms

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to initialize a non blocking socket using only winsock library
    By *DEAD* in forum Networking/Device Communication
    Replies: 4
    Last Post: 01-18-2008, 07:03 AM
  2. Formatting output into even columns?
    By Uncle Rico in forum C Programming
    Replies: 2
    Last Post: 08-16-2005, 05:10 PM
  3. Program that prints numbers in columns
    By rayrayj52 in forum C++ Programming
    Replies: 12
    Last Post: 09-20-2004, 02:43 PM
  4. Number of columns in ListControl
    By MPSoutine in forum Windows Programming
    Replies: 3
    Last Post: 03-28-2003, 02:29 PM
  5. Non blocking listen() with winsock
    By manwhoonlyeats in forum C Programming
    Replies: 1
    Last Post: 12-08-2002, 07:00 PM