0% found this document useful (0 votes)
108 views8 pages

Tic Tac Toe Documentation in Python 3 PDF

The document discusses the history and development of the tic-tac-toe game. It originated as early as the 1st century Roman Empire under the name Terni Lapilli. The purpose is to capture requirements for playing tic-tac-toe through a graphical user interface and develop the game logic. An interactive tic-tac-toe game is proposed that allows two players to play against each other using a GUI and mouse. The game ends when a player gets three in a row or all spaces are filled without a winner.

Uploaded by

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

Tic Tac Toe Documentation in Python 3 PDF

The document discusses the history and development of the tic-tac-toe game. It originated as early as the 1st century Roman Empire under the name Terni Lapilli. The purpose is to capture requirements for playing tic-tac-toe through a graphical user interface and develop the game logic. An interactive tic-tac-toe game is proposed that allows two players to play against each other using a GUI and mouse. The game ends when a player gets three in a row or all spaces are filled without a winner.

Uploaded by

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

6

1. ABSTRACT

The game TIC TAC TOE had an early variant which began in the first century in
the Roman Empire. During that time, it was called Terni Lapilli where the
players only had three pieces and had to move around the empty spaces to play.
The actual game of TIC TAC TOE could be traced back to ancient Egypt. The
game was also known during that time as Three Men's Morris . The first
reference to Noughts and crosses was made in 1864 in a British novel called Can
You Forgive Her. For many years the game was referred to as noughts and
crosses but was changed in the 20th century by the United States to TIC TAC
TOE.

The purpose of this documentation is to capture all the requirements by which


the user can play a game of tic-tac-toe in Graphical User Interface as well as
they can develop a logic that what is actually happening.

`
7

2. INTRODUCTION
2.1 OBJECTIVE:

One of the most universally played childhood games is TIC TAC TOE. An
interactive TIC TAC TOE game is developed where two players will be able to
play against each other in a suitable GUI by using proper mouse movements.
This game will start by showing a simple display, prompt the user for a move
and then prints the new board. The board looks like a large hash symbol (#)
with nine slots that can each contain an X, an O, or a blank. There are two
players, the X player and the O player. By default, player1 (the O player) takes
the initiative. The game will end in two situations: a win, when one player gets
three in a row, horizontally, vertically or diagonally. A draw, when there are no
remaining places to choose and neither of them has won. Here are some rules
for the game:

 The player with symbol O goes first

 Players alternate placing X s and O s on the board until either

 one player has three in a row, horizontally, vertically or diagonally; or

 all nine squares are filled.

 The player who can draw three X s or three O s in a row wins.

 If all nine squares are filled and none of the players have three in a row,
the game is a draw.
9

3.2 PROPOSED SYSTEM:

To overcome the drawbacks of the existing system, the proposed system has been evolved.
This project aims to reduce the paper work and saving time to generate accurate results
from the player’s perspective. The system provides with the best Graphical User Interface.
The efficient reports can be generated by using this proposed system.

3.2.1 ADVANTAGES OF PROPOSED SYSTEM

 The game has been made user friendly with proper use of graphical
interface.
 The user can play as many games without any interpretation.
 It is highly reliable, approximate result from user.
 The game has been made as a thorough expert system.
 The players can win the game, draw the game or will lose the game.
 It is a good brain exercise for all age group people.

3.3 FEASIBILITY STUDY:

Feasibility study begins once the goals are defined. It starts by generating board possible
solutions, which are possible to give an indication of what is new system should look like.
That is where creativity and imagination are used. Analysts must think up the new ways of
doing things generating new ideas. There is no need to go into the detailed system operation
yet. The solution should provide enough information to make reasonable estimates about
project cost and give user an indication of how the new system will fit into the organization.
Feasibility of a new system means ensuring that the new system, which we’re going to
implement is efficient and affordable. There are various types of feasibility that should be
taken into consideration:

3.3.1 ECONOMICAL FEASIBILITY:

Development of this application is highly economically feasible. The only thing


to be done is making an environment with the effective supervision. It is time
effective in the sense that it will eliminate the paper work completely. The
system that is being developed is also cost effective.
10

3.3.1 TECHNICAL FEASIBILITY:

The technical requirement for the system is economic and it doesn’t use any
other hardware or software. Technical evaluation must also assess whether
the Existing System can be upgraded to use the new technology and whether
the organization has the expertise to use it. Install all the upgrades
frameworks into the Python IDLE package supported Linux based application.
This application mostly depends two packages namely tkinter package and
pygame package provided by Python 3.6.0.

3.3.1 OPERATIONAL FEASIBILITY:


The system working is quite easy to use and learn due to its simple but
attractive interface. User requires no prerequisites for operating the product.
Technical performance includes issues such as determining whether the
system can sense the proper click of the mouse or after sensing the click it
places the symbol in the desired cell and whether the system is organized in
such a way that it always displays the correct result according to the moves
made by the players.

4. SYSTEM SPECIFICATION

4.1 HARDWARE REQUIREMENT [minimum requirement]:

 Minimum RAM: - 1GB


 Minimum Hard Disk: - 128GB
 Processor: - Intel Pentium 4(1.50 GHz) or above

4.1 SOFTWARE REQUIREMENT [minimum requirement]:

 Operating System: - Support for both LINUX and WINDOWS users


 Back End: - Python 3.6.0 Interpreter
 Front End Language: - Python3
 Front Design: - Tkinterface
20

6.4 SYSTEM FLOW DIAGRAM


21

6.5 DATA FLOW DIAGRAM


22

6.6 USE CASE DIAGRAM

Start Game

Player 1
moves

Player 2
moves

Check the
result

Player 1 Player 2

Play again
35

11. BIBLIOGRAPHY

BOOKS REFERENCES:

1. Python Without Fear BRIAN OVERLAND.

2. Python and Tkinter Programming JOHN E. GRAYSON.

3. A Practical Introduction to python Programming BRIAN HEINHOLD.

4. Invent Your Own Computer Games with Python 3rd Edition AL SWEIGART.

5. The Coder’s Apprentice Learning Programming with Python 3 PIETER SPRONCK.

OTHER REFERENCES:

1. Tic Tac Toe Documentation Release 0.1 by Deterralba December 18, 2015.
2. International Journal of Computer Trends and Technology (IJCTT) –
volume 12 number2– Jun 2014 ISSN: 2231-2803 http://www.ijcttjournal.org/
Page71 Implementation of Tic-Tac-Toe Game in LabVIEW.
3. Interactive tic tac toe Stefan Bennie Botha.

WEBSITES:

1. https://effbot.org/
2. http://codeproject.com/
3. http://stackoverflow.com/

You might also like