0% found this document useful (0 votes)
94 views6 pages

Tic Tac Toe Project Report Professional

....

Uploaded by

akgillmen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views6 pages

Tic Tac Toe Project Report Professional

....

Uploaded by

akgillmen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

TIC TAC TOE GAME

A Mini Project Report

for 2rd Year


Bachelor of Technology
In COMPUTER SCIENCE AND ENGINEERING (ARTIFICIAL INTELLIGENCE)

By

AYUSH KUMAR (Roll No. 2301331520031)

Under the Supervision of


Asso. Prof. (Dr.) SARIKA AGARWAL
Associate Professor, Computer Science & Engineering (Artificial Intelligence)

Computer Science & Engineering (AI) Department


School of Emerging Technologies
NOIDA INSTITUTE OF ENGINEERING AND TECHNOLOGY, GREATER NOIDA
(An Autonomous Institute)
Affiliated to DR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY, LUCKNOW
November, 2024

TABLE OF CONTENTS
Page No.
List of Tables vi
List of Figures vii
List of Symbols and Abbreviations viii
CHAPTER 1: INTRODUCTION 1-2
1.1 BACKGROUND 1
1.2 IDENTIFIED ISSUES/RESEARCH GAPS 1
1.3 OBJECTIVE AND SCOPE 2
1.4 PROJECT REPORT ORGANIZATION 2
CHAPTER 2: LITERATURE REVIEW 3
2.1 TRADITIONAL vs. AUTOMATED GAMES 3
2.2 OBJECT-ORIENTED PROGRAMMING CONCEPTS 3
2.3 EXISTING SIMPLE JAVA GAMES 3

CHAPTER 3: PROPOSED METHODOLOGY 4-7


3.1 TECHNOLOGY STACK 4
3.2 SYSTEM ARCHITECTURE 4-5
3.3 CLASS STRUCTURE AND COMPONENTS 5-6
3.4 GAME LOGIC IMPLEMENTATION 6-7

CHAPTER 4: RESULTS 8-9


4.1 FUNCTIONAL TESTING 8
4.2 USER INTERFACE (UI) TESTING 8
4.3 PERFORMANCE TESTING 8
4.4 SUMMARY OF REPORT 9

CHAPTER 5: CONCLUSION AND FUTURE WORK 10-11


5.1 CONCLUSION 10
5.2 FUTURE ENHANCEMENTS 11

REFERENCES 12
APPENDICES 13-15
Appendix A: Use Case Diagram
Appendix B: Screenshots
LIST OF PUBLICATIONS 16

DECLARATION

DECLARATION

I hereby declare that the work presented in this report entitled “TIC TAC TOE GAME,” was
carried out by me.
I have not submitted the matter embodied in this report for the award of any other degree
or diploma of any other University or Institute.
I affirm that no portion of my work is plagiarized, and the experiments and results reported
in the report are not manipulated.
CHAPTER 1: INTRODUCTION

BACKGROUND
Tic Tac Toe is a classic two-player game that involves strategic thinking
and logic.
The game is played on a 3x3 grid where players take turns marking a
square with their symbol (X or O).
The player who successfully aligns their symbols in a row, column, or
diagonal wins.
This project leverages Java's Object-Oriented Programming (OOP)
features to build the game.

OBJECTIVE AND SCOPE


The primary objective of this project is to create a robust and interactive
Tic Tac Toe game using Java.
The scope includes implementing player interactions, determining game
outcomes, and applying OOP principles such as encapsulation,
inheritance, and polymorphism.

PROJECT REPORT ORGANIZATION


This report is structured into the following chapters:
- Chapter 1: Introduction, discussing the game's background, objectives,
and the organization of this report.
- Chapter 2: Proposed Methodology, outlining the technology stack and
system design.
- Chapter 3: Results, presenting testing outcomes and system
performance.
- Chapter 4: Conclusion and Recommendations for future enhancements.
CHAPTER 2: PROPOSED METHODOLOGY

TECHNOLOGY STACK
This project was developed in Java, utilizing the following key
components:
- Java Swing: For creating the graphical user interface (GUI).
- Core Java: For implementing game logic and object-oriented design.

SYSTEM DESIGN
The game is structured using OOP concepts and follows a Model-View-
Controller (MVC) architecture. The key components include:
- Model: Manages the game state, player turns, and logic for determining
the winner.
- View: Handles the user interface, displaying the game grid and updates
in real-time.
- Controller: Mediates between the user inputs and updates to the model
and view.
CHAPTER 3: RESULTS

FUNCTIONAL TESTING
The Tic Tac Toe game was tested for the following functionalities:
- Players can alternate turns seamlessly.
- Game detects wins, draws, and invalid moves accurately.
- GUI updates in real-time to reflect player actions.

PERFORMANCE TESTING
The game operates efficiently with no noticeable delays in user
interaction or game updates.

USER INTERFACE TESTING


The interface is intuitive and easy to use, providing visual feedback for
each player's turn and game results.

CHAPTER 4: CONCLUSION

The Tic Tac Toe game successfully implements the core principles of OOP
and Java programming.
It provides a smooth user experience, accurately handles game logic, and
ensures robust performance.
Future improvements could include implementing AI for single-player
mode and extending the game's grid size for more complexity.
REFERENCES
1. Oracle Java Documentation: https://docs.oracle.com/javase/tutorial/
2. Tic Tac Toe Game Rules:
https://www.exploratorium.edu/geometryplayground/tic-tac-toe

LIST OF FIGURES

Fig No Caption Page No


3.1 System Architecture Diagram 5
3.2 Class Diagram of TicTacToeApp 6
A.1 Use Case Diagram 13
B.1 Game Grid Screenshot 14
B.2 Game Result Screenshot 15

LIST OF TABLES

Table No. Table Caption Page No


3.1 Class and Methods Description 6
4.1 Testing Results Summary 9

You might also like