"Create Tik Tac Toe Game Using C" 1.Aims/Benefits of The Micro-Project
"Create Tik Tac Toe Game Using C" 1.Aims/Benefits of The Micro-Project
"Create Tik Tac Toe Game Using C" 1.Aims/Benefits of The Micro-Project
3. Proposed Methodology:
First of all, we are going to collect all the information about the topic “
Create tik tac toe game Using C” WE are going to collect the
information through our workbooks, internet, reference book & also
taking guidance of our subject teacher. After collecting, a lot of raw data,
we are going to separate some main points with the help of subject
teacher.
We will make a primary report of that collected information then check it
out by subject teacher. After correction, advice, reading. We will fare our
work and make final report with chart.
4. Action Plan: -
1 Discussion and
finalization of topic
2 Collect information
about topic
3 Discussion on topic
4 Implementation of
micro-project.
5 Create a pseudocode of
the micro project.
7 Final submission of
micro-project
8 Seminar
5. Resources Required:
1 Tech 01 Used
knowledge
Books
PART-B
“Create tik tac toe game using C”
1.Rationale:
The goal of the game is for players to position their marks so that they make a
continuous line of three cells vertically, horizontally, or diagonally. An opponent can
prevent a win by blocking the completion of the.
/*
* C Program to Play the Tic Tac Toe Game
*/
#include <stdio.h>
return isValid;
}
// There is no winner
return 0;
}
int main()
{
printf("--------- Tic Tac Toe ----------\n\n");
scanf("%c", &start);
if (start)
{
int userChoice = 1;
// restart the game
while (userChoice)
{
playTicTacToe();
printf("\n* Menu\n");
printf("\nPress 1 to Restart");
printf("\nPress 0 for Exit");
printf("\n\nChoice: ");
scanf("%d", &userChoice);
if (userChoice)
{
initializeBoard();
}
printf("\n");
}
}
printf("\n :: Thanks for playing Tic Tac Toe game! :: \n");
return 0;
}
9. Applications of Micro-Project: