You are on page 1of 13

Table of Contents

1. Introduction

2. Project Back Ground

3. Methodology

4. Literature Review

5. FUNCTION AND STRUCTURE DESIGN OF Online CHESS GAME

6. Requirement Analysis

7. Conclusion

8. Reference

1
What our chess game can do?
 IMPROVES PROBLEM SOLVING TECHNIQUES
 IMPROVE LOGIC AND REASONING SKILLS
 INCREASE PATIENCE AND PERSISTENCE
 IMPROVES DECISION-MAKING SKILLS

Introduction

Chess is a popular board game played between Two Players It is played on a square
Chess-Board with 64 squares arranged in an eight-by-eight grid. Each Player Have 16
pieces to play a game

Online chess is chess that is played over the internet, allowing players to play against
each other in real time. This is done through the use of Internet chess servers, which
often include a system to pair up individual players

In 1974 Deep Blue was First software based Chess Engine developed by IBM
Computers.

“Online Chess Game ” is a project, which is of great use at the present. The main goal of
this project is to give access of Chess game to each and every person. “Online Chess
Game ” specially focuses on Helping Player How to Play Chess Game.

For the completion of this project we use Python Chess Library & Pygame For GUI
purpose . We have used Windows as the platform for the completion of this project.
Different class and package of Python Chess Library & Pygame are used to achieve
the task.

2
The project
Pygame is a ‘DESIGNING
cross-platform OF set of
CHESS
PythonGAME
modules USING
designed
COMPUTER
for writing GRAPHICS’
video games.
It includes computer
implements a classicgraphics
version and
of Chess
sound with
libraries
a Graphical
designed User
to be Interface
used with(GUI).
the Python
The
programming
Chess game follows
language.the basic rules of chess, and all the chess pieces only move
according to valid moves for that piece. Our implementation of Chess is for two
Goals: (use of Artificial Intelligence). It is played on an 8x8 checked board, with a
players
dark square in the
explore each player's
idea lower left could
that a computer corner. We successfully created a GUI using
"think"
text-based
 exploreversion, inheritance
symbolic and templates, as specified. Despite several unusual
computation
bugs inwrite
the GUI, our Chess
a program program
to play Chessis a great, user friendly game for two players.

Project Background

For the completion of “Online Chess-Game” a high level programming language


PYTHON is used and windows platform is used. But the result of this project is
platform independent. We have used the latest version of the Python programming
language for the latest features. Similarly capture device is required for the completion
of the project.

The main propose of this project is to have a Simple and Easy GUI To Play Chess
game Between TWO PLAYERS .This project can be further enhanced in future to the
mobile application and even be expanded to contain many more facilities so that it can
be very useful.

If a person wants to Play Alone Then He/She Can Play Chess Using Single Player
Option Provide in The Game. If he Wants to play With the His / Her Friends He Can
Play Using Multi-player Mode With Timer ON Or OFF. If Both The Players Are Far-
way From Each other And wants to play a game can be done using Online Mode
Which uses SOCKET PROGRAMINIG TECHNIQUE For The Establishment Of the
Connection Between Two Players . If Player wants to Leave ongoing game and want
CONTINUE the Game later it can also be Done using SAVE MY-GAME and
continue the Game Later

Methodology
3
Literature Review
We started by planning the hierarchy of our chess game. This organized our plan for
coding and setting up the class hierarchies. Next we began coding of the Chess game.
Initially we worked together on developing the header files so that we knew what
functions and logic we should use.

After the GUI window


Computational intelligenceappears upon execution,
techniques were combinedthe first
withplayer
games(white
for thechess
first pieces)
time in
clicks when
1959, on theSamuel
piece that (s)he awould
applied simplelike to move andlearning
reinforcement then clicks on a valid
algorithm position
to the board
for this
game piece (including
Checkers. capturing
After the early successanother piece, the
of Samuel, which then in
research disappears from the
the field remained
board).forInvalid
silent a longmoves are not
time. But allowed,
as part and theintelligence
of artificial message box notifiesathe
research, fewplayer of the
researchers
problem. A player is also not allowed to move another player's pieces.
have worked on applying classical AI techniques, basically especially custom-made The message
box tellsalgorithms,
search the player towhen (s)he
board is in check,
games such asand the player
Chess must move
and Checkers. the direction
This King to get of
out of check.
research The majority
ultimately of the
led to the muchtime, however,victory
publicized our Chess game
of the IBMworked
Deepwell.
Blue Chess
computer over world Chess champion Gary Kasparov in 1997.
For designing the system for chess following aspects need to be kept in mind:
Practicality, the system must be stable and can be operated by people with average.
An abstract representation of a game is a set of rules which allow a player to play the
game lawfully, but which is more compacted than the general representation of the
 The
game. Efficiency,
conceptthis involvesrepresentation
of abstract accuracy, timeliness
is basic toand comprehensiveness
all work to Itthe
on games in AI. is
system for
a prerequisite output.
game analysis. Thus game analysis is significantly dependent on the
existence of an abstract representation of the game
 Cost, it is desirable to aim for a system with a minimum cost subject to the
condition that it must satisfy all the requirements.
Last but not the least a literature review is one described above and the one which is
 Flexibility,
an evaluative reporttheofsystem shouldfound
information be modifiable depending
in the literature on to
related thethe
changing
selectedneeds
area
of the user. Such
of study, ours is the CHESS. modifications should not entail extensive reconstructing or
recreation of software. It should also be portable to different computer systems.
This project implements a classic version of Chess using Python and a Graphical User
 Security,
Interface. this is
The Chess veryfollows
game important aspectrules
the basic of the designand
of chess, andall
should coverpieces
the chess areas of
hardware
only move reliability.
according to validSystem
moves fordesign involves
that piece. Our first logical design
implementation and isthen
of Chess
for twophysical
players. construction
It is played onof an
the8x8
system.
checkered board, with a dark square in each
player's lower left corner.
Goals:
 explore the idea that a computer could "think"
 explore symbolic computation

 write a program to play Chess

4
System design is the process of defining the components, modules, interfaces, and
data for a system to satisfy specified requirements. System development is the process
of creating or altering systems, along with the processes, practices, models, and
methodologies used to develop them.

FUNCTION AND STRUCTURE DESIGN


OF Online CHESS GAME .

5
This system adopts the modularized program design, and system function
is correspondingly divided into function modules, the main modules
include

UI function module design: The Single Player screen, Multi Player Screen,
Online Playing Screen, Load Game Screen , Hyper Links For Useful
Document Links For learning Chess game.

Requirement Analysis.

6
These are some certain specifications upon which our project is based
upon and with help of following our “DESIGNING OF CHESS
GAME” is able to proceed through as follows:

Software Requirement Specification:

1. Language: Python .
2. Platform: Windows operating system.
3. Software: Pycharm idea IDE software.

Hardware Requirement Specification:

1. RAM: 128MB (Minimum).


2. Processor: Pentium 2 and above.
3. Hard Disk: 150 MB.
4. Includes Memory Storage, a mouse, a keyboard.

7
8
9
10
11
Conclusion

Conclusion:-

12
Thethis
In project
project
had
“DESIGNING
two aims, allOF of CHESS
them which
GAME were
USING
achieved.
COMPUTER
The aims GRAPHICS”
of the project
we presented
were importanttheasclassic
they identified
and standard
what
version
the project
of Chess
wasimplemented
trying to achieve.
as a GUI.
Their
Weaims
successfully created a game using inheritance, templates, Artificial Intelligence and a
were:
GUI (Graphical
First aim User
is to Interface).
allow two users or players to play the game interactively from
remote locations.
 The second aim is that the java program for the chess game should be working
properly and allow the users to play the game .

The testing methods used in the project were appropriate. The system test ensured that
all features of the chess game were functional before the beta test. There was no other
suitable tests found that would test the game as thoroughly as the system test.

The benefits are –


 A GUI user interface which help us to work with great ease.
 Chess program is a great, user-friendly game for two players by the use of
Artificial Intelligence

We have successfully completed our project. While doing our project we faced
different difficulties. . After doing this project we have learnt visual programming viz.
Python and also gained the idea PyGame And Chess Framework. The more important
thing is that we have learnt to work in-group. As well we have learnt the importance
of the project management while doing any sort of project.

13

You might also like