Search:

Type: Posts; User: gomantis

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,763

    This rand func is not working!!

    hi
    thanks for checking this out:


    void computerMove(char board[SIZE][SIZE])
    {
    int x,y;
    x = rand()%3;
    y = rand()%3;
    board[x][y] = 'x';
  2. Replies
    1
    Views
    2,193

    ticTacToe program, logic help!

    Hi, thanks for looking at this.

    Here is what i have so far:

    int printBoard(int x, int y, char array)
    {
    int x; //row
    int y; //column
    char board[3][3]; /* declares an array for the...
Results 1 to 2 of 2