MAD Microproject
MAD Microproject
MAD Microproject
EDUCATION
NAVJEEVAN EDUCATION SOCIETY’S
POLYTECHNIC
MICRO PROJECT
Academic Year:2023-24
TITLE OF MICRO PROJECT
TICTACTOE GAME
Program: Computer Engineering
Program code: CO6I
Course: Mobile Application Development
Course code: 22617
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
CERTIFICATE
This is to certify that 1)Aradhya Gorule(1360)
2) Malhar Kokare(1361)
3)Muskan Khan(1362)
th
Of 6 Semester of Diploma in Computer Engineering of Institute,
Navjeevan Education Society’s Polytechnic (code: 0144) has
completed the Micro Project satisfactorily in Subject: Python 22617
for the academic year 2023-2024 as prescribed in the curriculum.
Seal of Institute
---------------------------------------------------------------------------------------------------------------------------
---
---------------------------------------------------------------------------------------------------
MOBILE APPLICATION
DEVELOPMENT
-------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
REPORT BOOKLET
NAVJEEVAN POLYTECHNIC
BHANDUP[W]
GROUP DETAILS
Sr Name of Roll No Enrollment Seat No
No Group No
Members
1 Aradhya 1360 2101440175 121374
Gorule
2 Malhar Kokare 1361 2101440186 121385
3 Muskan Khan 1362 2101440187 121386
❖ RESOURCES USED:
S.NO Name Of Specifications Qty
Resources/material
1 Computer System Windows 11. 1
Memory:16GB RAM
Processor: i511th GEN
Semester: CO 6I
4. 05/02/2024 12/02/2024
4th Implementation All Team Members
_______________________
Sign of Faculty
INDEX
Academic Year: 2023-2024 Name of Faculty: Mrs.Harshala Kamble
Roll No:1360,1361,1362.
Semester: 6
Sr Content Page No
No
Brief Description
1
Aims of the Micro-project
4 Skill Development
❖ SKILL DEVELOPMENT:
Developing a Tic-Tac-Toe game can help you improve various skills,
including:
1.Programming Logic:- You'll strengthen your understanding of
programming logic by implementing the game's rules, such as
checking for a win or draw, handling player turns, and managing the
game state.
2. Algorithmic Thinking: Creating efficient algorithms for checking
win conditions, determining optimal moves (if implementing an AI
opponent), and handling user input requires algorithmic thinking.
3. User Interface Design:- Designing a user-friendly and visually
appealing interface for the game improves your UI/UX design skills,
including layout design, button placement, and feedback mechanisms.
4. Event Handling: You'll learn how to handle user interactions, such
as button clicks for placing symbols on the board, and respond
appropriately based on the game state.
5. Error Handling: Implementing error handling mechanisms, such as
preventing illegal moves or handling unexpected input, enhances your
error-handling skills.
6. Testing and Debugging: Testing your game thoroughly and
debugging issues that arise improve your ability to identify and fix
bugs, ensuring a smoother user experience.
7. Documentation: Documenting your code, including comments and
README files, improves your documentation skills and helps others
understand your project.
8.Version Control: Using version control systems like Git for
managing your project's codebase teaches you versioning,
collaboration, and code management practices.
Overall, developing a Tic-Tac-Toe game is a practical way to enhance
your programming, problem-solving, design, and project management
skills while creating a fun and interactive application.
IMPLEMENTATION AND RESULT
❖ INTRODUCTION:
In a Tic-Tac-Toe game, two players take turns marking empty squares
on a 3x3 grid with their respective symbols, usually "X" and "O." The
game checks after each move for a winning condition where a player
has three symbols in a row, column, or diagonal. If a winning
condition is met, that player wins. If all squares are filled without a
winner, the game ends in a draw. Players interact by clicking or
tapping squares, and the game interface updates to show the moves
and game status. It's a simple yet strategic game that's easy to learn
and play, making it a classic choice for entertainment and learning
basic game development concepts.
❖ CONCEPT:
The concept of a Tic-Tac-Toe game revolves around creating a 3x3
grid where two players take turns marking empty cells with their
symbols, usually "X" and "O." The game checks after each move if a
player has three symbols in a row, column, or diagonal, declaring
them the winner if so. If all cells are filled without a winner, the game
ends in a draw. Players interact by clicking or tapping cells, and the
game updates the board and checks for win conditions accordingly.
It's a simple yet engaging game that emphasizes strategic placement
and pattern recognition.
The coding procedure followed for the TicTacToe Game
in mobile application development involves several key
steps:-
1. Game Board Representation:-
Designing a grid or board to represent the Tic-Tac-Toe game, typically a 3x3
grid with cells where players can place their symbols.
2. Player Turns:-
Implementing logic to alternate between players' turns, allowing them to place
their symbols (e.g., "X" or "O") on the game board.
3.Winning Conditions:-
Defining the conditions for a player to win the game, such as having three of
their symbols in a row, column, or diagonal on the board.
7.Event Handling:-
Implementing event listeners to respond to user interactions, such as button
clicks or touch events, and updating the game state and UI accordingly.
Algrothim
The algorithm for a Tic-Tac-Toe game typically involves the
following steps:
1.Initialize the Game:-
- Create an empty 3x3 grid to represent the game board.
- Assign players to symbols, such as "X" and "O," and determine the starting
player.
2. Player Moves:-
- Start the game loop where players take turns making moves.
- For each turn, accept input from the current player to mark an empty cell on
the grid with their symbol.
3.Check Win Conditions:-
- After each move, check if the current player has achieved a winning pattern.
- Check rows, columns, and diagonals to see if there are three matching
symbols.
- If a win is detected, end the game and declare the current player as the
winner.
4.Check for Draw:-
- If all cells on the grid are filled without a winner, the game ends in a draw.
- Check for a full grid after each move, and if no win is detected, end the
game as a draw.
5. Switch Players and Repeat:-
- After each turn, switch to the other player to continue the game loop.
- Repeat the process of accepting moves, checking win conditions, and ending
the game until a winner is determined or the game ends in a draw.
6. End Game and Display Result:-
- Once a winner is determined or the game ends in a draw, display the result to
the players.
- Provide options to start a new game or exit.
FLOWCHART
OUTPUT OF THE CODE
4) Analysis of data
and representation
5) Quality of
prototype
6) Report preparation
(B)individual presentation /viva(convert above total marks out of 4 marks)
7) Presentation
8) Viva
(A) (B) Total marks
……………………………………………………………………………………………………………
Name and Designation of the teacher Mrs harshala kamble Dated signature
………………………………………………………
EVALUTION SHEET
Name of Student: MALHAR KOKARE
Enrollnment No.:2101440186
Name of Programme : COMPUTER ENGINEERING Semester : 6
Course Title: MOBILE APPLICATION DEVELOPMENT Code : 22617
Title of Micro Project : TIC TAC TOE GAME
4) Analysis of data
and representation
5) Quality of
prototype
6) Report preparation
(B)individual presentation /viva(convert above total marks out of 4 marks)
7) Presentation
8) Viva
(A) (B) Total marks
……………………………………………………………………………………………………………
Name and Designation of the teacher Mrs Harshala kamble
4) Analysis of data
and representation
5) Quality of
prototype
6) Report preparation
(B)individual presentation /viva(convert above total marks out of 4 marks)
7) Presentation
8) Viva
(A) (B) Total marks
……………………………………………………………………………………………………………
Name and Designation of the teacher Mrs harshala kamble