catch me

19
SYNOPSIS ON Catch Me: Pure Java Game MASTER OF COMPUTER APPLICATION Degree Session-2014 By Krishan Keval[130580460] Diwakar Kumar[13058446] 1

description

this is a game- catch me in java

Transcript of catch me

Page 1: catch me

SYNOPSIS

ON

Catch Me: Pure Java Game

MASTER OF COMPUTER APPLICATIONDegree

Session-2014

ByKrishan Keval[130580460]Diwakar Kumar[13058446]

1

Page 2: catch me

Student Declaration/CertificateWe ------------ -----------------hereby declare that the work, which is being presented in the project Entitled “---------------------------------------“ in partial fulfillment of the requirement for the award of MASTER OF COMPUTERAPPLICATION (MCA) degree, is an authentic record of my own work carried out under the supervision of (Supervisor name, Designation, Company Name).

The matter embodied in this project has not been submitted by me for the award of any other degree.

Date:……………… ---------------------

(Full Signature of the student)

This is to certify that the above statements made by the candidate are correct to the best of my knowledge.(……………………….……) (-------------------------)

(MCA Deptt) (Project Supervisor)

2

Page 3: catch me

Project name-Catch me Enrolment no.-130580460,130580446

Introduction

3

Page 4: catch me

Project name-Catch me Enrolment no.-130580460,130580446

Introduction :-Catch Me is a GUI based game developed for educational purpose and for fun also. It is written purely in java. In this game, some butterflies are displayed rapidly on the computer screen, the only work for user is to click on the butterfly using mouse as fast as possible.Objective :-However there are n numbers of similar games available in the market but the main purpose behind developing this game is show and use the different capabilities of Java.As this game is an educational version of game things are kept simple as possible to clearly show the power of Java to do the things easily.As this game is played using mouse so it may help children and new users to be more convenient while using mouse.Scope :-

The game is for single user. It manages the score for the user who is currently playing the game . There are 10 levels in this game.

4

Page 5: catch me

Project name-Catch me Enrolment no.-130580460,130580446

Process Model

Project name-Catch me Enrolment no.-130580460,130580446

PROCESS MODEL

1. Model Description

developing is chosen based on the nature of project and application, themethods and tools to be used, and the controls and deliverables that arerequired. All software development can be characterized as a problemsolving loop in which four distinct stages are encountered: Problemdefinition, technical development and solution integration.

5

Page 6: catch me

Regardless of the process To solve actual problems in an industry, softwaredeveloper a team of developers must incorporate a development strategythat encompasses the process, methods and tools layers andgeneric phases. This strategy is often referred to as process model or asoftware developing paradigm. A process model for software model that is chosen for a software project allof the stages coexist simultaneously at some level of detail.Our Project Follows the Waterfall ModelTHE WATERFALL MODEL

The steps of the Typical Waterfall Model are:-

Requirement Definition System & Software Design Implementation Integration & System Testing Operation & Maintenance

Project name-Catch me Enrolment no.-130580460,130580446

2. ArchitectureWaterfall Model

(It is carried out to make best use of resources.)

(These are checked properly so that nothing will lack after the delivery of the project.)

(This is done to analyze our project work tillnow.)

6

Page 7: catch me

(Forms & interfaces are designed)

(Proper coding isimplemented

in the VB designing.)

(Proper testing is doneto

& make it error free.)

Project name-Catch me Enrolment no.-130580460,130580446

3. Development Methodology

Design process: - The computer system design process is an exercise of specifying“how” the system will work. It is an iterative process which is base done “what” thesystem will do as shown in the feasibility report. Mainly, following five parts have beenincluded in the system design process: -

Output design: The starting point of the design process is the proper knowledgeof system requirements, which will normally be converted in terms of output.

7

Page 8: catch me

Input Design: Once the output requirements have been finalized, the next step isto find out what data need to be made available to the system to produce the desireoutput.

File Design: Once the input design is captured in the system, these may have to bepreserved either for a short or long period. These data will generally be stored infiles in a logical manner.

Procedures Design: This step involves specifications of how processing will beperformed. In this, there are two aspects involves:

Computer procedure Non – computer procedure

Project name-Catch me Enrolment no.-130580460,130580446

Requirement Analysis

8

Page 9: catch me

Project name-Catch me Enrolment no.-130580460,130580446

Software Development Life Cycle :-Software development life cycle is a process of developing software on thebasis of the requirement of the end user to develop efficient and good qualitysoftware. It is necessary to follow a particular procedure. The sequence ofphases that must be followed to develop good quality software is known asSDLC {Software Development Life Cycle.

The software is said to have a life cycle composed of several phases. Each ofthese phases results in the development of either a part of the system orsomething associated with the system, such as a test plan or a user manual. Inthe life cycle model, called the “spiral model,” each phase has well-definedstarting and ending points, with clearly identifiable deliverables to the nextphase. In practice, it is rarely so simple..A number of models exist that differ in the number of stages defined, and inthe specific activities that take place within each stage. The followingexample is a generic model that should give you some idea of the stepsinvolved in a typical software project.Phases Of SLDC. :-

system analysis System design Coding System testing System implementation System maintenance

Project name-Catch me Enrolment no.-130580460,130580446

Analysis of User Requirements :-During this stage, the problem is defined so that a clear understanding can begained of what the system should do, i.e. what the inputs to the system are,what the output should be, and the operational parameters within which thesystem is expected to work. If the new system is to replace an existing

9

Page 10: catch me

system, the Problem may be defined in terms of the additional or enhancedfunctionality that is required.

Program Design :-

In this stage, a solution to the problem is designed by defining a logicalsequence of steps that will achieve each of the stated system objectives. Sucha sequence of steps is often referred to as an algorithm.Some of the methods used to define program algorithms are described laterin this section, and include flowcharts and pseudo code. These tools allowthe program designer to break a given problem down into a series of smalltasks which the computer can perform to solve the problem. The userinterface will also be designed during this stage, and will determine howinput is obtained, how output is displayed, and what controls are available tothe user.

Program Coding :-

This stage, sometimes known as the implementation stage, is where thealgorithms are translated into a programming language, and tends to be thelongest phase of the development life-cycle.

Project name-Catch me Enrolment no.-130580460,130580446

Documentation and Testing :-

The documentation of the program fulfils two main objectives. The first is toprovide a technical reference to facilitate on-going maintenance anddevelopment of the software itself. The second is to provide userdocumentation, i.e. a set of instructions that inform the user about thefeatures of the software and how to use them.

The aim of software testing is to find any errors ("bugs") in the program, toeliminate those errors (a process known as "debugging"), and as far as isreasonably practicable should be sufficiently rigorous to ensure that thesoftware will function as expected under all foreseeable circumstances.

Operating and Maintaining the System :-

10

Page 11: catch me

Once the software has been "rolled out" and all necessary user training hasbeen completed, it will be necessary to monitor the performance of thesystem over the time to ensure that it is behaving as expected. The systemwill need to be maintained, and parts of it will need to be upgraded from timeto time to handle evolving user needs or to cope with new problems.

Eventually, as the system ages, it may no longer be able to adequately copewith the demands of a growing number of users, take advantage of advancesin hardware technology, or adapt to a constantly changing environment.When this time comes, the system will need to be decommissioned andreplaced by a new system. Hence, the software development life cycle willbegin again.Project name-Catch me Enrolment no.-130580460,130580446

Feasibility Study :-Feasibility study is made to see if the project on completion will serve thepurpose of the organization for the amount of work, effort and the time thatspend on it. Feasibility study lets the developer foresee the future of theproject and the usefulness. A feasibility study of a system proposal isaccording to its workability, which is the impact on the organization, abilityto meet their user needs and effective use of resources. Thus when a newapplication is proposed it normally goes through a feasibility study before itis approved for development.

Technical Feasibility :-

The system must be evaluated from the technical point of view first. Theassessment of this feasibility must be based on an outline design of thesystem requirement in the terms of input, output, programs and procedures.Having identified an outline system, the investigation must go on to suggestthe type of equipment, required method developing the system, of runningthe system once it has been designed.

Technical issues raised during the investigation are: Does the existing technology sufficient for the suggested one? Can the system expand if developed?

11

Page 12: catch me

Project name-Catch me Enrolment no.-130580460,130580446

Economic Feasibility :- The developing system must be justified by cost and benefit. Criteria toensure that effort is concentrated on project, which will give best, return atthe earliest. One of the factors, which affect the development of a newsystem, is the cost it would require. The following are some of the important financial questions asked duringpreliminary investigation:

The costs conduct a full system investigation. The cost of the hardware and software. The benefits in the form of reduced costs or fewer costly errors

Since the system is developed as part of project work, there is no manualcost to spend for the proposed system. Also all the resources are alreadyavailable, it give an indication of the system is economically possible fordevelopment.

Behavioral Feasibility :-

This includes the following questions: Is there sufficient support for the users? Will the proposed system cause harm?

The project would be beneficial because it satisfies the objectives whendeveloped and installed. All behavioral aspects are considered carefully andconclude that the project is behaviorally feasible.

12

Page 13: catch me

Project name-Catch me Enrolment no.-130580460,130580446

System Design

13

Page 14: catch me

Project name-Catch me Enrolment no.-130580460,130580446

SYSTEM DESIGN

Design is the first step into the development phase for any engineeredproduct or system. A good design is the key to effective system. The term“design” is defined as “the process of applying various techniques andprinciples for the purpose of defining a process or a system in sufficientdetail to permit its physical realization”.It may be defined as a process of applying various techniques and principlesfor the purpose of defining a device, a process or a system in sufficient detailto permit its physical realization. Software design sits at the technical kernelof the software engineering process and is applied regardless of thedevelopment paradigm that is used.The design phase is a transition from a user oriented document to adocument to the programmers or database personnel. System design goesthrough two phases of development: Logical and Physical Design.

Logical Design

The logical flow of a system and define the boundaries of a system. Itincludes the following steps:

Reviews the current physical system – its data flows, file content,volumes, frequencies etc.

Prepares output specifications – that is, determines the format,content and frequency of reports.

Prepares input specifications – format, content and most of the inputfunctions.

Prepares edit, security and control specifications.Project name-Catch me Enrolment no.-130580460,130580446

Physical Design

Physical system produces the working systems by define the designspecifications that tell the programmers exactly what thecandidate system must do. It includes the following steps.

14

Page 15: catch me

Design the physical system. Specify input and output media. Design the database and specify backup procedures. Design physical information flow through the system and a physical

design Walk through. Plan system implementation.

Input Design

The design of input focuses on controlling the amount of input required, controlling the errors, avoiding delay, avoiding extra steps and keeping the process simple. The input is designed in such a way so that it provides security and ease of use with retaining the privacy. Input Design considered the following things:

What data should be given as input? How the data should be arranged or coded? The dialog to guide the operating personnel in providing input. Methods for preparing input validations and steps to follow

when error occur.

Project name-Catch me Enrolment no.-130580460,130580446

Objectives:

Input Design is the process of converting a user-oriented descriptionof the input into a computer-based system. This design is important toavoid errors in the data input process and show the correct directionto the management for getting correct information from thecomputerized system.When the data is entered it will check for its validity. Data can beentered with the help of screens. Appropriate messages are providedas when needed so that the user will not be in a maze of instant. Thusthe objective of input design is to create an input layout that is easy tofollow

Output Design

15

Page 16: catch me

A quality output is one, which meets the requirements of the enduser and presents the information clearly. In output design it isdetermined how the information is to be displaced for immediateneed and also the hard copy output. It is the most important anddirect source information to the user. Efficient and intelligent outputdesign improves the system’s relationship to help user decision-making.

Identify the specific output that is needed to meet therequirements.

Select methods for presenting information. Create document, report, or other formats that contain

information produced by the system.

FLOW CHART

16

Page 17: catch me

Project name-Catch me Enrolment no.-130580460,130580446

SOFTWAREREQUIREMENTSPECIFICATION

Project name-Catch me Enrolment no.-130580460,130580446

HARDWARE REQUIREMENTS

Core™ i3 . 2.26 GHz.

2 GB Ram

Hard disk 512 GB

Key Board

Mouse

17

Page 18: catch me

Monitor

SOFTWARE REQUIREMENTS

Operating System : Windows 7

IDE : Eclipse Programming Language : JAVA

BIBLIOGRAPHY

18

Page 19: catch me

For Java installation

https://www.java.com/en/download/

Reference websites

www.javatpoint.com

www.w3schools.com

http://www.tutorialspoint.com/java/index.htm

Reference Books

Thinking in java

Learn Java in Eassy Steps

Complete reference Java

19