Professional Documents
Culture Documents
OOP GROUP REPORT Microproject
OOP GROUP REPORT Microproject
Report
On
Micro Project
Title: TIC TAC TOE GAME
PROGRAM CODE : CO3I-B
COURSE NAME : Object Oriented Programming
COURSE CODE : OOP (22316)
Submitted by
Group-10
Submitted to
Mrs.Pratibha Pednekar
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
Certificate
This is to certify that Mr. / Ms. Kapil , Bhumika , Dinky Roll No: 28,29,30 of Third Semester
Diploma in Computer Engineering of Vivekanand Education Society’s Polytechnic (Code
No 0004) has completed the Micro-Project work satisfactory in Object Oriented
Programming (22316) for the academic year 2022 - 2023as prescribed in the MSBTE
curriculum.
Seal Of
Institution
Annexure-I
Micro-Project Proposal
Title: Tic Tac Toe Game
Sr.
Name of Resource/material Specifications Quantity Remarks
No
Teacher Signature
(Mrs.Pratibha Pednekar)
*************
Annexure-II
Micro-Project Report
1.0 Rationale:
The game can also be draw where player1 and player2 both did not won the game but all
the boxes in dashboard are filled.
The following picture is just an example of draw game there are many more possibilities of
a draw game:-
}
void playerturn()
{
int ch;
if(turn=='X')
cout<<"\n\t\t"<<ply1<<"'s turn:-";
if(turn=='O')
cout<<"\n\n\t\t"<<ply2<<"'s turn:-";
cin>>ch;
switch(ch)
{
case 1:
row=0;column=0;
break;
case 2:
row=0;column=1;
break;
case 3:
row=0;column=2;
break;
case 4:
row=1;column=0;
break;
case 5:
row=1;column=1;
break;
case 6:
row=1;column=2;
break;
case 7:
row=2;column=0;
break;
case 8:
row=2;column=1;
break;
case 9:
row=2;column=2;
break;
default:
cout<<"\n\t\tInvalid choice try again!";
getch();
}
if(ch<=9)
{
dashboard();
if(turn=='X'&&board[row][column]!='X'&&board[row][column]!='O')
{
board[row][column]='X';
turn='O';
}
else if(turn=='O'&&board[row][column]!='X'&&board[row][column]!='O')
{
board[row][column]='O';
turn='X';
}
else
{
cout<<"\n\t\t Box is already filled\n\t\t Please try again!";
getch();
playerturn();
}
dashboard();
}
}
bool gameover()
{
int i,j;
for(i=0;i<3;i++)
{
if(board[i][0]==board[i][1] && board[i][0]==board[i][2] ||
board[0][i]==board[1][i] && board[0][i]==board[2][i])
return false;
}
if(board[0][0]==board[1][1] && board[0][0]==board[2][2] ||
board[0][2]==board[1][1] && board[0][2]==board[2][0])
return false;
for(i=0;i<3;i++){
for(j=0;j<3;j++){
if(board[i][j]!='X' && board[i][j]!='O')
return true;
}
}
draw=true;
return false;
}
int main()
{
system("cls");
cout<<"\t\t WELCOME"<<endl;
cout<<"\n\t\t-------------TIC TAC TOE GAME---------------";
cout<<"\n\n\t\t-------------PRESENTED BY GROUP 10----------"<<endl;
cout<<"\n\n\t\tPlayer1[X]"<<ply1;
cout<<"\n\t\tPlayer2[O]"<<ply2<<endl;
cout<<"\n\t\tEnter name of player1";
gets(ply1);
cout<<"\n\t\tEnter name of player2";
gets(ply2);
while(gameover())
{
dashboard();
playerturn();
gameover();
}
if(turn=='X'&&draw==false)
cout<<"\n\n\t\t--------Congragulations"<<ply2 <<" won the game------------";
else if(turn=='O'&&draw==false)
{
cout<<"\n\n\t\t--------Congragulations"<<ply1 <<" won the game------------";
}
else
cout<<"\n\n\t\t------------GAME DRAW----------------";
return 0;
}
No.
Teacher Signature
(Mrs.Pratbha Pednekar)
*************
Annexure-III
Suggested Rubric for Assessment of Micro-Project
(The marks may be allowed to the characteristics of the Micro Project by considering the suggested rubrics)
Literature Review Not more than two At-least 5 relevant At –least 7 relevant About 10 relevant
sources (primary and sources, at least 2 latest sources, latest sources, latest
2 /Information secondary), very old
collection
reference
Very short, poor-quality Nearly sufficient and Detailed, correct and clear Very detailed, correct,
sketches, Details about correct details about description of methods, clear description of
methods, material, methods, material, materials, precautions methods, materials,
precaution and precautions and and Conclusions. precautions and
conclusions omitted, some conclusion. But clarity is Sufficient Graphic conclusions. Enough
6 Report Preparation details are wrong not there in a Description. tables, charts and
presentation. But not sketches
enough graphic
description.
Major information is not Includes major Includes major Well organized, includes
included, information is information but not well information and well major information, well
7 Presentation not well organized. organized and not organized but not presented
presented well presented well
Could not reply to a Replied to a considerable Replied properly to a Replied most of the
considerable number of number of questions but considerable number of questions properly
8 Viva questions. not very properly questions.
Annexure-IV
Micro-Project Evaluation Sheet
Name of Student: Kapil Kanjani , Bhumika Bhatia, Dinky Gurbani Enrollment No: 2100040242 - 45
2 Literature Survey /
Information Collection
5 Quality of Prototype/Model
6 Report Preparation
7 Presentation
8 Viva
MICROPROJECT EVALUATION SHEET
28 Kapil Kanjani
29 Bhumika
Bhatia
30 Dinky
Gurbani
*************