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

(Solved) : First Part Mechanics Need Help Double Nested Loop Code Please Q30017667 . . . .(Solved) : First Part Mechanics Need Help Double Nested Loop Code Please Q30017667 . . . .

<p>I did the first part with the m<img alt="Ax By CIo m" src="https://media.cheggcdn.com/media%2Fe44%2Fe4447e1f-b783-4cf2-8f50-256f2d011665%2FphpnyTIyT.png" style="height:344px;width:400px;" aria-describedby="d3f"/>echanics but I need help in thedouble nested loop and the code please.<img alt="" src="https://media.cheggcdn.com/media%2F34d%2F34d3e582-7e82-43df-b700-c63358b9e7fb%2FphpKnMGRi.png" style="height:200px;width:345px;"/></p>Ax