Course Solutions Uncategorized (Solved) : Hey Wondering Someone Help C Program Tic Tac Toe Problems Board Prints Numbers 0 8 Want Bo Q29501036 . . . .

(Solved) : Hey Wondering Someone Help C Program Tic Tac Toe Problems Board Prints Numbers 0 8 Want Bo Q29501036 . . . .

 

Hey, I was wondering if someone can help me with my C program inTic-Tac-Toe. My problems is:

– Now my board prints the numbers 0-8 and I want the board tohave the numbers 1-9 on the board.

– Now the program don’t understand when someone has three in arow. I want it to annonce when the first has three in or raw orthat it’s a draw.

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

#define BOARD_SIZE 9

#define NUMBER_TO_WIN 3

#define COMPUTER -1

#define PLAYER 1

struct tictac // Structure Data Members

{

int gamesquare[10];

int Player, choice, mark;

unsigned Seed;

};

void checkwin(struct tictac *, int *Status);//functionprototype

void board(struct tictac); //functionprototype

int main()

{

struct tictac t; //Declaration of structure variable

int

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post