Sie sind auf Seite 1von 18

CHAPTER 1

INTRODUCTION

Introduction to Game World

Our project name is Tic-Tac-Toe game. This game is very popular and is fairly simple by
itself. It is actually a two player game. In this game, there is
a board with n x n squares. In our game, it is 3 x 3 squares.
The goal of 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..
Aim and Objective of the project
AIM:
The game is developed for full-time entertainment and enthusiasms. It teaches the Gamer to bealert
at every situation he/she faces, because if the Gamer is not fully alert and notice the saucerfire
he/she must be hit by the saucer-bombs.
Though the proposed game is an action game, it doesn’t involve direct violence. No zombie killing,
animal killing, or human killing is performed in the game. So it can also be viewed as a non-
violence game.Kids can also play this game, because the design of the game is very simple,
controlling the gameis very easy.

OBJECTIVES OF THE PROJECT:

Our objective is to evolve several Tic-tac-toe strategies


which never lose (meaning a draw or a win by
the computer). This makes the problem to have a single
objective of minimizing the number of losses. The
evaluation of fitness of any strategy is done by first allowing
it to play all possible games it could play, both
as a first player and as a second player. For example,
note from Figure 5 that there are two possible ways
a game can move for the first player from level 1 to
level 2, depending on whether the opponent made the

left or the right side move .


1
CHAPTER 2
PROJECT BACKGROUND

2
CHAPTER 3
CURRENT SYSTEM
Image classification is a complex process that may be affected by many factors. This contains
current practices, problems, and prospects of image classification. The emphasis is placed on the
summarization of major advanced classification approaches and the techniques used for improving
classification accuracy. In addition, some important issues affecting classification performance are
present in current systems. The proposed system is designed for a suitable image‐processing
procedure that is a prerequisite for a successful classification having good accuracy. Effective use
of support vector machine and the selection of a suitable classification method are especially
significant for improving classification accuracy. Non‐parametric classifiers such as neural
network, decision tree classifier, and knowledge‐based classification have increasingly become
important approaches for multisource data classification. Integration of remote sensing and expert
system emerges as a new research frontier. More research, however, is needed to identify and
reduce uncertainties in the image‐processing chain to improve classification accuracy.

3
CHAPTER 4
WORKING OF PROJECT

The highest-priority and the lowest-priority rules seemed obvious to me right away.The highest-
priority are these:
1. If I can win on this move,do it.
2. If the other player can win on the next move,block that winning square.
Here are the lowest-priority rules,used only if there is nothing suggested more strongly by the board
position:
n-2. Take the center square if it’s free.
n-1. Take a corner square if one is free.
n. Take whatever is available.
The highest priority rules are the ones dealing with the most urgent situations:either I or my opponent
can win on the next move.The lowest priority ones deal with the least urgent situations,in which there
is nothing special about the moves already made to guide me.
What was harder was to find the rules in between.I knew that the goal of my own tic-tac-toe strategy
was to set up a fork, a board position in which I have two winning moves,
 so my opponent can only block one of them.
 Here is an example:
x o
x
x o

X can win by playing in square 3 or square 4.It’s O’s turn,


but poor O can only block one of those squares at a time. Whichever O picks, X will then win by
picking the other one. Given this concept of forking, I decided to use it as the next highest priority
rule:
3. If I can make a move that will set up a fork for myself, do it.That was the end of the easy part. My
first attempt at writing the program used only these six rules.
Unfortunately, it lost in many different situations. I needed to add something, but I had trouble finding
a good rule to add. My first idea was that rule 4 should be the defensive equivalent of rule 3, just as
rule 2 is the defensive equivalent of rule 1:
4a. If, on the next move, my opponent can set up a fork,block that possibility by moving into the
square that is common to his two winning combinations.

4
LIBRARIES
In this project different following libraries are imported for specific tasks. They are:
 java.lang is always implicitly being imported as it contains everything you basically cannot
program without String, Double, Enum, Math, etc.
 In java.util you can find all the collections and data structures available in Java
 Next, we have java.io for reading files, working with pipes, streams and similar.
 Also we have java.nio, which actually is the alternative to java.io and stands for non-blocking I/O.
It allows intensive use of the input/output operations as you might guess.
 java.math provides functionality for working with arbitrary-precision decimal (BigDecimal) and
integer (BigInteger) values.
 java.net is being used for working with sockets, creating connections or in short – creating
networking applications.
 In Java we also have libraries for working with GUI : javax.swing (extension of the older java.awt).
 We even can play music and create midi files with java.sound.

5
CHAPTER 5

DESIGNING PART
The hardware and software requirements for the project are:-

Hardware configuration
Processor: Pentium 200 MHz computer

RAM: 64 MB

Free Space required on hard disk: 128 MB


Software requirement
1. Window xp/7/8 operating system.
2. Netbeans java.
3. Advance java
4. My Sql

Technology Used

JAVA

Java is a programming language and computing platform first released by Sun Microsystems in 1995.
Java is a programming language built for the age of the Internet. There are lots of applications and
websites that will not work unless you have Java installed, and more are created every day. Java is
fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers.
Java is a high level, robust, secured and object-oriented programming language. And any hardware or
software environment in which a program runs, is known as a platform. Since Java has its own
runtime.

6
FEATURES OF JAVA

 Simple

 Easy to learn

 Free and Open source

 High-level language

 Interpreted

 Object oriented

 Extensive libraries

NETBEANS

NetBeans IDE is the official IDE for Java 8. With its editors, code analyzers, and converters, you can
quickly and smoothly upgrade your applications to use new Java 8 language constructs, such as
lambdas, functional operations, and method references.

Batch analyzers and converters are provided to search through multiple applications at the same time,
matching patterns for conversion to new Java 8 language constructs.

With its constantly improving Java Editor, many rich features and an extensive range of tools,
templates and samples, NetBeans IDE sets the standard for developing with cutting edge technologies
out of the box.

7
CHAPTER 6

SCREENSHOTS



Figure 6.1: This figure dispay Welcome Window of Login and registered.

8






















Figure 6.2: This figures display the imges of credentials.

9
Figure 6.3: This figure display the Login Successful.

10


Figure 6.4: This figure displays the Dashboard.

11









Figure 6.5: This figure displays the 1st game Tic tac Toe.

12

Figure 6.6: This figure displays the 2nd Word game.

13

Figure 6.7: This figure displays the Guide of the games.

14



Figure 6.8: This figure displays the time over of the game.

15
CHAPTER 7
FUTURE SCOPE
New intelligent, digital species created entirely by research scientists in various nations of the
world will include advances in image processing applications. Advances in image processing and
artificial intelligence6 will involve spoken commands, anticipating the information requirements
of governments, translating languages, recognizing and tracking people and things, diagnosing
medical conditions, performing surgery, reprogramming defects in human DNA, and automatic
driving all forms of transport. With increasing power and sophistication of modern computing, the
concept of computation can go beyond the present limits and in future, image processing
technology will advance and the visual system of man can be replicated.
The future trend in remote sensing will be towards improved sensors that record the same scene in
many spectral channels. Graphics data is becoming increasingly important in image processing
app1ications. The future image processing applications of satellite based imaging ranges from
planetary exploration to surveillance applications.

16
CHAPTER 8
CONCLUSION

The result of our project is Game World working perfectly fine. It has the speed that we targeted for
that is screen does not flicker, stick moves correctly and movements of images are pretty smooth.
The game theory is also accurate.
Our game is quite safe as it does not include any RF signals and noise in it. The best part of our game
is that it’s very user friendly. Anyone can play it and gets addicted. We have documented the design
of our game in such a way that anybody can alter it by reading our documentation.

17
REFERENCES
1. https://en.wikipedia.org/wiki/Tic-tac-toe
2. https://playtictactoe.org/
3. https://www.exploratorium.edu/brain_explorer/tictactoe.html

18

Das könnte Ihnen auch gefallen