0% found this document useful (0 votes)
44 views25 pages

MAD Microproject

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 25

MAHARASHTRA STATE BOARD OF TECHNICAL

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.

Place : Bhandup Enrollment number : 2101440175


2101440186
2101440187

Date : Exam seat number : 121374


121385
121386

Subject Teacher Head of department Principle

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

HELPED AND GUIDED BY


MRS. HARSHALA KAMBLE
❖ BRIEF INTRODUCTION:
A Tic-Tac-Toe game is a classic two-player strategy game played on
a 3x3 grid. The players take turns marking spaces on the grid with
their respective symbols, typically "X" and "O," aiming to create a
row, column, or diagonal of their symbols before their opponent does.
The game ends either when one player achieves a winning pattern or
when all spaces on the grid are filled without a winner, resulting in a
draw.
The simplicity of Tic-Tac-Toe makes it a popular choice for learning
basic game development concepts and algorithms, such as game
loops, user input handling, win condition checks, and graphical user
interface (GUI) design. It's often used as a starting point for beginners
in programming to understand fundamental game logic and
programming principles.

❖ AIMS OF THE MICRO-PROJECT:


The aim of Tic-Tac-Toe is for a player to create a line of their own
symbol (usually "X" or "O") in a horizontal, vertical, or diagonal row
on a 3x3 grid. The player who achieves this first wins the game. If all
the spaces on the grid are filled and no player has achieved a winning
line, the game is a draw.

❖ RESOURCES USED:
S.NO Name Of Specifications Qty
Resources/material
1 Computer System Windows 11. 1
Memory:16GB RAM
Processor: i511th GEN

2 Software Windows 11 operating 1


system
WEEKLY REPORT (ACTION PLAN)
Topic: TicTacToe Game

Academic Year: 2023-24 Name of Faculty: Mrs. Harshala Kamble

Program Code: Computer Engineering

Course and Course Code: Mobile Application Development

Roll No: 1360 , 1361 , 1362

Enrollment No: 2101440154, 2101440159, 2101440172

Name of Candidate: Aradhya Gorule ,Malhar Kokare ,Muskan Khan

Semester: CO 6I

SR Week Activity of Performed Plan start Plan Name of


NO Date Finish Responsible
Date Team member

1. Discussion and finalization 01/01/2024 05/01/2024


1st All Team Members
of
topic
2. Preparation 08/01/2024 15/01/2024
2nd All Team Members
andsubmission of
Abstract
3. 22/01/2024 29/01/2024
3rd Collection of Data All Team Members

4. 05/02/2024 12/02/2024
4th Implementation All Team Members

5. Check, Validation 26/02/2024 04/03/2024


5th All Team Members
And Execution
ofcode
6. Compilation of report & 11/03/2024 18/03/2024
th
6 Presentation All Team Members

7. 7th Actual Presentation &


Final submission of All Team Members
MicroProject
Signs of Students:

1._________________ 2.___________________ 3.___________________

_______________________

Sign of Faculty
INDEX
Academic Year: 2023-2024 Name of Faculty: Mrs.Harshala Kamble

Program Code: Computer Engineering (CO6I)

Course & Course Code: Mobile Application Development

Roll No:1360,1361,1362.

Enrollment No: 2101440175, 2101440186, 2101440187

Semester: 6

Name of Candidate:Aradhya Gorule, Malhar Kokare, Muskan Khan

Sr Content Page No
No
Brief Description
1
Aims of the Micro-project

2 Course Outcomes Integrated

3 Actual Resources used

4 Skill Development

5 Implementation and Result


6 Conclusion
7 Soft Copy
8 Micro-project Evaluation sheet
TICTACTOE GAME
❖ BRIEF INTRODUCTION:
Tic-Tac-Toe, also known as Noughts and Crosses, is a simple yet
engaging two-player game played on a 3x3 grid. Players take turns
marking empty squares with their symbol, typically "X" for one
player and "O" for the other. The goal is to create a line of three of
their symbols either horizontally, vertically, or diagonally. The game
ends when one player achieves this goal or when all squares are filled,
resulting in a draw. Tic-Tac-Toe is a great introduction to game
development concepts and strategy, making it a popular choice for
beginners and a nostalgic favorite for many.

❖ AIM OF THE MICRO-PROJECT:


The aim of the Tic-Tac-Toe game project is to create a fully
functional and interactive implementation of the classic Tic-Tac-Toe
game for Android devices. This includes designing a user-friendly
interface, implementing game logic to handle player moves and win
conditions, providing feedback on game outcomes, and allowing
players to compete against each other or against an AI opponent. The
project aims to showcase programming skills in Android
development, game logic, user interface design, and possibly AI
programming if an AI opponent is included.

❖ COURSE OUTCOMES INTEGRATED:


1. User Interface Design
2. Quality Control.
3. Sustainability Practices
4. Accessibility Compliance
❖ ACTUAL RESOURCES USED:

S.NO Name Of Specifications Qty


Resources/material
1 Computer System Operating System:- 1
Windows 11.
Memory:-8 GB
RAM.
Processor:-i5 11th
GEN.
SSD:256GB.
2 Software Android Studio 1

❖ 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.

4.Game State Management:-


Managing the state of the game, including tracking player moves, checking for
win conditions, handling draws, and updating the game board accordingly.

5.User Input Handling:-


Handling user input, such as tapping or clicking on the game board to place
symbols, and validating the legality of moves.

6. User Interface (UI) Design:-


Designing an intuitive and visually appealing UI for the game, including
displaying the game board, player symbols, game status (e.g., whose turn it is),
and messages for win, draw, or invalid moves.

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.

8.Feedback and Notifications:-


Providing feedback to players through UI elements, such as highlighting
winning patterns, displaying messages for game outcomes, and offering options
to play again or reset the game.

9.Testing and Debugging:-


Testing the game thoroughly to ensure all features work correctly, including
handling edge cases and unexpected user input, and debugging and fixing any
issues that arise during testing.

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

o Front page & Name Enter :-


o Players Playing:-
o Result & Play again:-
CONCLUSION
In conclusion, a Tic-Tac-Toe game is a classic and straightforward
game that offers a fun and engaging experience for players of all ages.
Its simple rules and gameplay make it easy to learn yet challenging
enough to provide strategic thinking and pattern recognition.
Developing a Tic-Tac-Toe game is not only a great way to practice
programming skills, such as game logic, user interface design, and
event handling, but it also serves as an excellent introduction to game
development concepts. Whether played between friends, against an
AI opponent, or as a learning project, Tic-Tac-Toe remains a timeless
game that continues to entertain and teach valuable skills in the world
of game development.
SOFT COPY
EVALUTION SHEET
Name of Student: ARADHYA GORULE
Enrollnment No.:2101440175
Name of Programme : COMPUTER ENGINEERING Semester : 6
Course Title: MOBILE APPLICATION DEVELOPMENT Code : 22617
Title of Micro Project :TIC TAC TOE GAME

SR Characteristic to be Poor Average Good Excellent Sub total


No. accessed Marks(1-3) marks(4-5) (Marks 6-8) (marks 9-10)
(A)Process and product assessement ( convert marks out of 6 marks)
1) Relevance to the
code
2) Literature
review/information
collection
3) Completion of
target as per project
proposal

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

Process and production Individual presentation and


assessment(6 marks) viva( 4 marks)

Comment/suggestion about team work/leardership/inter-personal communication(if any)

……………………………………………………………………………………………………………
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

SR Characteristic to be Poor Average Good Excellent Sub total


No. accessed Marks(1-3) marks(4-5) (Marks 6-8) (marks 9-10)
(A)Process and product assessement ( convert marks out of 6 marks)
1) Relevance to the
code
2) Literature
review/information
collection
3) Completion of
target as per project
proposal

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

Process and production Individual presentation and


assessment(6 marks) viva( 4 marks)

Comment/suggestion about team work/leardership/inter-personal communication(if any)

……………………………………………………………………………………………………………
Name and Designation of the teacher Mrs Harshala kamble

Dated signature ………………………………………………………


EVALUTION SHEET
Name of Student: MUSKAN KHAN
Enrollnment No.:2101440187
Name of Programme : COMPUTER ENGINEERING Semester : 6
Course Title: MOBILE APPLICATION DEVELOPMENT Code : 22617
Title of Micro Project : TIC TAC TOE GAME

SR Characteristic to be Poor Average Good Excellent Sub total


No. accessed Marks(1-3) marks(4-5) (Marks 6-8) (marks 9-10)
(A)Process and product assessement ( convert marks out of 6 marks)
1) Relevance to the
code
2) Literature
review/information
collection
3) Completion of
target as per project
proposal

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

Process and production Individual presentation and


assessment(6 marks) viva( 4 marks)

Comment/suggestion about team work/leardership/inter-personal communication(if any)

……………………………………………………………………………………………………………
Name and Designation of the teacher Mrs harshala kamble

Dated signature ………………………………………………

You might also like