A Project On Local Tic-Tac-Toe Game

Download complete project materials on A Project On Local Tic-Tac-Toe Game from chapter one to chapter five with references

ABSTRACT

A Local Tic-Tac-Toe games is a popular two player games played on a three by three grid, is a pencil-and-paper game. Also is to developed an interacting game using Java programming language, where two users can come together and play on their respective computer a player can play up to three times, there will be a record of every game played by every user, a user is entitled to play only three times so that he will allow another user to come in, Local Tic-Tac-Toe game enable user to think fast and also enable a user to block an opponent not to win, any user who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the games. 

LIST OF FIGURES

Figure: 3.1  Use Case Diagram

Figure: 3.2 Class diagram

Figure: 3.3  Activity diagram

Figure: 4.1 The presentation of local tic-tac-toe board

Figure: 4.2  The input of player names

Figure: 4.3  This interface shows an option who to play withFigure: 

4.4  The Main board game of tic-tac-toe of two players

Figure: 4.5  The board game of a human player and a computer player

 

TABLE OF CONTENTS

CONTENT                                                                                                   

Title Page………………………….. i

Declaration………………………. ii

Approval…………………………. iii

Dedication………………………. iv

Acknowledgment …………….. v

List of Figures………………… vi

Table of Contents ………….. vii

Abstract ……………………….. x

                                       CHAPTER ONE

     INTRODUCTION

1.0 Preamble…………….. 1

1.1 Definition of a game …… 1

1.2 Description of the local tic-tac-toe….. 1

1.3 Importance of playing games (tic-tac-toe)…. 2

1.4 Background of the study ….. 2

1.5 Problem statement ………….  3

1.6 Motivation……………………… 3

1.7 Purpose of the study………… 3

1.8 Scope of the project……….. 4

1.9 Expected contribution to knowledge  . 4

CHAPTER TWO

     LITERATURE REVIEW

2.0 Preamble ……………………………… …………….. 5

2.1 History of Game…………………………………….. 5

2.2 Importance of Game………………………………. 6

2.3 Benefit of Game…………………………………….. 8

2.4 Related literature review………………………….. 9

CHAPTER THREE

      METHODOLOGY AND DESIGN

3.0  Preamble …………………………………….  14

3.1  Method of Data Collection  ……………  14

3.2  Input Specification…………………………. 15

3.3 Output Specification………………………… 16

3.4    System Modeling ………………………..  18

3.4.1 Use case Diagram………………………… 19

3.4.2  Class Diagram……………………………. 20

3.4.3 Activity Diagram………………………….. 21

3.5 System Requirement ………………………. 22

3.5.1 Hardware Requirement…………………. 22

3.5.2 Software Requirement………………….. 22

3.6      Choice of Programming Language…. 22

CHAPTER FOUR

SYSTEM IMPLEMENTATION AND EVALUATION

4.0     Preamble ………………… 23

4.1     System Testing and Evaluation……… 23

4.2     System Conversion Plan………………. 23

4.3    System Installation…………………………24

4.4  Sample output………………………………. 24

4.4.1 Screen shot and coding…………. 24

4.4.2 Login interface and player name………… 25

4.4.3 Choose player mode………………………….. 26

4.4.4 The main game interface of two player… 27

4.4.5 The board game of computer and human player….28

CHAPTER FIVE

SUMMARY, CONCLUSION AND RECOMMENDATIONS

5.0   Preamble…………………29

5.1    Summary………………. 29

5.2    Conclusion…………… 29

5.3     Recommendations.. 30

References……………….. 31

Appendix ……………….. 32

 

CHAPTER ONE

INTRODUCTION

1.0     Preamble

A Local Tic-Tac-Toe game is a popular two player games played on a three by three grid, is a pencil-and-paper game. Also is to develop an interacting game between two users, where two users can come together and play on their respective computer.

1.1     Definition of a Game

A game is a structured form of play, usually undertaken for enjoyment and sometimes used as educational tool. Games are distinct from work, which is usually carried out for remuneration, and a form of which is more often on expression of aesthetic or ideological elements. We are going to write a project base on a Local game called Local Tic-Tac-Toe game.

1.2     Description of the Local Tic-Tac-Toe

Local Tic-Tac-Toe game is a popular two-player game played on a three grid we are going to make a project that plays a decent game of Local Tic-Tac-Toe Game. First of all, you should understand how a mid-game Local Tic-Tac-Toe Game board will be represented in this project, as a list of what is in each of the nine squares. We will represent the board as a diagram whose items are in the order of the numbers. The program will allow a human user to play against another user the goal in this project is to develop an application that will determine the users next move based on the current position, (Local Tic-Tac-Toe is not a very challenging game for people). This block of code will report the users next move given the current configuration. It takes two inputs, the current position and whether the user is playing X’ or O’.

1.3     Importance of Playing Games (Tic-Tac-Toe)

(i)  Develop the thinking (logical) abilities of a child (player)

(ii) Develop the predictive abilities of the players, as they can anticipate the thought and more of the other player. This would improve their assessing ability.

(iii) It prepares the players for more complex games because it helps them to think of multiple things at once.

1.4     Background of the Study

This game is very popular and is fairly simple by itself. It is actually a two player game. In our game, it is 3 x 3 squares. The goal of Local Tic-Tac-Toe is to be one of the players to get three same symbols in a row – horizontally, vertically or diagonally – on a 3 x 3 grid. The game can be played by two players (player x’ and player o’). A player can choose between two symbols with his opponent, usual games use “X” and “O”. If first player choose “X” then the second player have to play with “O” and vice versa. A player marks any of the 3×3 squares with his symbol (may be “X” or “O”) and his aim is to create a straight line horizontally or vertically or diagonally with two intensions:

(i)     Create a straight line before his opponent to win the game.

(ii)   Restrict his opponent from creating a straight line first.

In this case logically no one can create a straight line with his own symbol, the game results a tie. Hence there are only three possible results – a player wins, his opponent (human) wins or it’s a tie.

1.5     Problem Statement

The problems are formulated as follows:

(i)   Each square of the Local Tic-Tac-Toe board is indexed at (0, 0) Top left and (2, 2) at bottom right.

(ii)   Each player writes their respective marker in an empty square only. If a player makes a move at (2, 2) inside the square (1, 2) then the next player is forced to make his next move inside any of the empty squares of the square.

(iii)  If square (2, 2) as mentioned above is filled up, then the next player can make a move in any of the squares of the board.

1.6     Motivation

The challenges that we encounter with playing the game known as Local Tic-Tac-Toe game when trying to solve problem such language and literacy communicating with others and learning new vocabulary. It also solve problem in mathematics were we can learn how to count, matching and sorting numbers together when solving.

(i)    To develop a game that helps solve problems both for children and adult person.

(ii)   To develop a game called Local Tic-Tac-Toe were two players can come together and play for fun.

(iii)  To develop a game that helps a users to think fast when a problem occur.

(iv)  Exploring the possibilities of Using Local Tic-Tac-Toe game to think and communicate with each other.

1.7      Purpose of the Study

Local Tic-Tac-Toe game is something called a zero-sum game. A game where the outcome always sums up to zero in the end. Furthermore this is a perfect information game where the game state is completely open to everyone. A user knows everything about it, no hidden cards or anything like that. Therefore a user can play perfectly since no luck is involved. (Playing Local Tic-Tac-Toe game perfectly doesn’t mean a user will always win). For the purpose this means there will always be a tie.

1.8     Scope of the Project

The scope of this project is to enable player or a user to solve his or her problem in any where he may find himself in either in the academics, working place or in their home.

1.9     Expected Contribution to Knowledge

The importance of this project work cannot be over emphasized. The purpose of this project is to understand the game better and a lot easier, the Local Tic-Tac-Toe game will also help the user to improve in fast thinking everybody will benefit from the game. A lot of people can learn at different time and places. The user can also learn to think fast when playing. Develop a two player game of Local Tic-Tac-Toe, using Java programming language.


SEE >> HOW TO DOWNLOAD THE COMPLETE PROJECT (CHAPTER 1-5) NOW

 


GUARANTTEE|:| Score 280 Above in 2022 UTME👉 DOWNLOAD FREE JAMB CBT APP HERE:.: GURRANTTEE Score 280 Above in 2022 UTME👉 DOWNLOAD FREE JAMB CBT APP HERE 📱👈
WISH TO STUDY & LIVE in UK?:- STUDY, WORK AND LIVE IN the UK Application Form NOW OUT. Call 08030447894

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.