Submitted in Partial Fulfillment of the Requirements for the Degree in Bachelor of Technology IN


Session: 2011-12
Submitted To: Submitted By:

Asst. Prof. Mr.Yogesh Rathi Ms. Namita Sharma CS & IT Dept.

Jagrit Makhija Janardan Bhatt VII Semester


Yagyavalkya Institute of Technology Sitapura, Jaipur

This is to certify that the project titled “ Game Center ” is submitted by “Janardan Bhatt” & “Jagrit Makhija”, students of final year in partial fulfilment for the award of degree of Bachelor Of Technology of Rajasthan Technical university, Kota has been carried out under my supervision during academic year 2011-2012. This work is should not been submitted partially or wholly to any other university or institute for the award of this or any other degree or diploma.

Project Guide



Head of the Department


Page 2

The report in concern with the project on “GAME CENTER” covers all a considerable area of entertainment applicbility. The report also offers specific recommendations in a number of areas for Private gaming firms to strengthen their present activities and to formulate future strategies for a more meaningful intervention. It was ambitious to undertake such a massive study regarding the numerous fields and measures that the entertainment industry adopts to perform the daily tasks. The varied experiences of the gaming platforms which have been brought into this study, the area specific data and idiom, and the scientific analysis make the report immensely useful and valuable. The game center provides a means of leisure activities to users. It has a user friendly interface which is very easy to use. Such game centers are used now a days by a lot of people for their personal entertainment purpose, plus we all very well know that playing games improves the ability to think as people stress their minds while playing games to get the best score.

Page 3

Principal (YIT) & Vice Principal (YIT) for their valuable support & cooperation during my report work. Everyone involved was very helpful and enthusiastic for success of my thesis completion.Ankur Goyal.Asst. I am also very thankful to the YIT Management. I would thank those who devoted their time and information. Last but not the least. professors. Therefore. I am greatly appreciated for both physical and mental support i have received from them. HOD. Moreover this Project would not have been finished without the endless support and tolerance of my friends at YIT. it would be impossible for me to work on this project completely without the encouragement from my family. Yogesh Rathi and my project guide Ms. Page 4 . Mr.Namita Sharma. CS & IT Dept. Jaipur. Prof.. for their helpful guidance. friends and family. I am greatly indebted to my advisors. suggestion and encouragement throughout this study.ACKNOWLEDGMENT This Project Report would not have been completed without the support from my advisors.

.................................... INTRODUCTION ...................................................................................................................................................... 66 5...........3 2............................... .......................Table of Contents Sno................... BIBLIOGRAPHY AND REFERENCES ................. 18 Testing and Debugging ............... 1........ 13 Analysis ...................... CONCLUSION ......................................................................................... 6 1....................................................... 11 2................................................................................... FUTURE OF THE PROJECT ........... 69 Page 5 .... SWDLC (SOFTWARE DEVELOPMENT LIFE CYCLE) ..........................................................................................................1 The Waterfall Model and its‟s Phases.........2 2.......1 Introduction to the Project.................................................................. 65 4.................... RECOMMENDATION ............................................. 68 7.................. Topic Page No................... 62 3...1 2................. 67 6................ LIMITATIONS ............ 11 2.........................4 Objective .................................................................................................................... 14 Design and Implementation ................................. 6 2.............................................

as given by the client. The project basically consists of: 1) A user panel where the user can choose to either go to the login panel or sign up panel. 3) The signup panel where an unregistered user can provide his/her information and register himself/herself to the game center. 5) To prevent Data Redundancy. Having been provided with all the required facilities within the application.1 Introduction to the Project About the Project The project on GAME CENTER was initially aimed to enhance the understanding of JAVA. The AIM of the PROJECT is: 1) To make the interface as interactive and attractive as possible at the front-end. 4) „Tic tac toe‟ and „Battle pong‟ games. the user hardly feels the need of assistance or guidance. 2) A login panel where the user can enter his id and password to login to the game center. The project is basically an application based on JAVA using Awt. INTRODUCTION 1. It consists of an excellent user-interface designed completely in Java Swing. 2) To display all the available information.1. 3) To make the data as dynamic as possible. Swing and JDBC. Technologies used Page 6 . The application developed using these platforms provides an easy to access interface to a naïve user. The customer can avail adequate features in the application that are of general entertainment purpose. 4) To ensure re-usability. but later became part of an interest.

forever”. run anywhere. User does not have to worry about allocation and de-allocation of memory. anytime. The Java Platform provides robust end-to-end solutions for networked applications as well as a trusted standard for embedded applications. Strict compile-time and runtime checks for data types.  Robust     Java is a very robust language owing to the following features. Characteristics of Java  Object Oriented  Java is object oriented to the truest sense of the word. Excellent exception handling facilities. Variables and methods both are encapsulated in objects. So Java was a natural choice for development process. Memory management relief for the user. This feature is implemented in the following ways: o Compiler generates machine independent byte-code instructions which can be run on any machine supporting Java Virtual Machine.  Portable and Architecture-Neutral  Java is portable and platform independent so much that they satisfy “write once. Java has been chosen as the platform because of its feature rich nature. Everything in Java is represented as objects. o Size of primitive data type is machine independent.JAVA The entire component has been developed using Java technology. Java is the purest object -oriented language.  Multithreaded Page 7 .

My SQL Page 8 . Brings a level of abstraction to client/server programming. Provides a solution for multi process synchronization. These JIT compilers can be used on a real time.  Secure   Security is achieved by confining a java program to the java execution environment and not allowing access to other parts of the user computer. objects and methods. piece by piece demand basis to perform on-the-fly compilation of bytecode into .  Distributed   Open access to remote objects by the use of RMI(Remote Method Invocation). Absence of pointers provides memory related security as encroachment of memory is avoided. C++).  High Performance  Just-In-Time (JIT) compilers are used to convert byte-code into native machine code resulting in very high performance.  Dynamic and Extensible    Facilitates linking in of new classes. Allows the creation of networked and interactive programs.   Programs can do many things simultaneously using different threads. Programs carry with them a substantial amount of runtime type information that is used to verify and resolve accesses to objects at run-time. Supports native methods (methods written in other languages like C.

users run an application on their local computer. this frees a valuable resource to spend more time working on database design and application data access issues. and be shared among several users.  Database Architecture Page 9 . that is.MY-SQL is based on Client/ Server Architecture. It is designed to work effectively in a number of environments. The server application is the one that opens connections to the database server and can be running on the same server as the database.  Client/Server Database Systems  Client/server systems are constructed so that the database can reside on a central computer. the client application logic runs at two locations:  The thin client is run on the user's local computer and is focused on displaying results to the user. known as a client that connects over a network to the server running MY-SQL Server. The client application runs both business logic and the code to display output to the user. either as a two tier or multi tier client/server database system or as a desktop database system. known as a server. or it can connect across the network to a separate server operating as a database server.  In a multi tier client/server system. and is also known as a thick client. Because database administrators are typically among the people most highly trained in database issues at each site.  The business logic is located in server application running on a server.  In a two tier client/server system. Users access the server through a client or server application. which is itself a multithreaded application capable of working with many concurrent users.  Administrative Architecture  Each version of MY-SQL Server seeks to automate or eliminate the repetitive work done by the database administrators in earlier versions of SQL Server. Thin clients request functions from the server application.

This section discusses: o An overview of the component that make up the server. Page 10 . o How the server implements server cursors. procedures. The data in a database is organized into the logical components visible to users. o How the server determines which part of a distributed query references a linked server and what request to transmit to the server to obtain the needed data. o How the server manages concurrency and transaction issues. o How server manages MS windows resources such as memory and tasks. The physical implementation of files is largely transparent. views.  Server Architecture  The server is the MY-SQL Server components that receives SQL statements from clients and perform all the actions necessary to complete the statements. o How the server transmits remote stored procedure call to remote server. MY-SQL data is stored in databases. o How the server compiles each batch of SQL statements into an execution plan that tells the server how to process the statement. you work primarily with the logical components such as tables. and users.  When using a database. A database is also physically implemented as two or more files on disk.

but in the final analysis.Design Fig.Implement 2. 2. timing. deliverables.2.Maintain 5. SWDLC (Software Development Life Cycle) SWDLC refers to the project management framework. of standard phases to help a firm better managing the activities. SWDLC's are often governed by standard policy and procedure.Analysis 4.Feasibility 3. and is usually done in parallel with the development process. the fountain model and the spiral model. Documentation is crucial regardless of the type of model chosen or devised for any application. Various SDLC methodologies have been developed to guide the processes involved in Rapid Application Development (RAD). the most important factor for the success of a project may be how closely particular plan was followed.Test 1. Some methods work better for specific types of projects.1 The Classic Waterfall Model Page 11 .1 The Waterfall Model and its’s Phases. 6. Joint Application Development (JAD). or methodology. and resources for software development projects. The Software Development Life Cycle (SWDLC) is a conceptual model used in project management that describes the stages involved in an information system development project from an initial feasibility study through maintenance of the completed application.

functional specification design. 4. 3. 2. it would be possible to make a report of identified area of problem. Feasibility Feasibility study is also called Software Requirement Analysis. the design of the architecture chosen. This phase is the base of software development process.This software development life cycle process has six stages. So a careful analysis has to be made about the system requirement needed for the development of the product. Care must be taken to prepare these design documents because the next phase is based on these design documents. In this way. In this phase development team has to communicate with customers and make analysis of their requirement and analyze the system. If a well structured and analyzed design document is prepared it would reduce the time taken in the coming steps. Page 12 . and low level/high level design documents takes place. Analysis After the analysis and design of the system requirement phase the system required for the development would be complete and the concentration can be on the software development process. The design of database. The above software development process are all vital for a system to get developed with quality and thus to achieve customer satisfaction which is the main objective of any software development process.a document is prepared which has details like project plan or schedule of the project. the cost estimated for developing and executing the system. Design Here analysis is made on the design of the system that is going to be developed. The first essential or vital thing required for any software development is system. These are explained below : 1. target dates for each phase of delivery of system developed and so on. Implementation This is the phase when the system gets live. By making a detailed analysis on this area . so careful analysis has to be made.

Based on the need. This process continues until the system is found to be error free. 3) The signup panel where an unregistered user can provide his/her information and register himself/herself to the game center.1 Objective The project „GAME CENTER‟ is designed as an gaming portal to serve user as an entertainment application. This phase is called the maintenance phase and the errors in this are recorded. system test and so on. User can jus login to the game center and play the desired game. The project basically consists of : 1) A user panel where the user can choose to either go to the login panel or sign up panel. 6. The best part of the project is the design. Page 13 . it is delivered to the customer. But no real system would be error free even then. it can be used for other businesses. 2) A login panel where the user can enter his id and password to login to the game center.5. 4) „Tic tac toe‟ and „Battle pong‟ games. To ease the testing process debuggers or testing tools are available. Testing The testing phase includes different levels and methods of testing like unit testing. just by some minor change of codes. 2. After this process the system again goes to development phase for correction of errors and again tested. which is such that. Then changes are to be made in the system accordingly and again testing phase comes into picture. there would be possibilities of bugs and errors. It makes the leisure activities of a user more entertaining. Maintenance After the system is found to be error free. the testing methods are chosen and reports are prepared about bugs. This is because when the system gets executed in real user system scenarios.

1System Analysis The first essential or vital thing required for any software development is system.  He must be able to work in environment having considerable ambiguity and uncertainty. the analyst will have to look at such things as forms and data used by the organization. In performing these four tasks. implementation and maintenance of a given system. The duties of the System Analyst are :  He must determine the requirements of user of a new system so that during analysis they can discuss with users how to design a new system that meets the requirements. to satisfy user requirements. To do this. design.2 Analysis 2. In System Analysis we have to determine whether the variation we observe is really from the customer responses to the survey and to determine how much of the variation is due to the questionnaire used to collect the user responses.2.2. So a careful analysis has to be made about the system requirement needed for the development of the product.  He has to provide different solutions to the problem. It describes what the proposed system will do independent of the technology.  He must be able to find out the details about the system itself. Page 14 . which will be used to implement these requirements. The object of the analysis activity in this project perspective is to develop structured system specifications of the needs and requirements specified by a user. the analyst must always match the information system objectives with the goals of organization. Role of System Analyst The system analyst is the person who guides the analysis. Requirement for statistically analyzing a system would involve a process to determine the variations from the central location which is imperative to analyze the measurement accuracy taking into consideration factors of stability and linearity.

usually prior to any actual design or development work. All the necessary requirements should be filled.1 Functional Requirements An User view Module contents should be:    Entries should be made user-friendly. 2. 2. 2.2.2. This can be done by defining roles of each member like administrator. o In Performance requirements the server should be handle any number of clients and fast access service. It should contain a unique category name.2. He must be creative and imaginative in producing new solutions to meet user requirements. A good number of entries as per the category should be provided. A Category Module contents should be:   User should be provided an attractive and good number of information about the required entity.2.2.2 Requirement Analysis It is basically an organization's understanding of a user or potential client's system requirements and dependencies at a particular point in time. users or Page 15 requirements contain performance requirements and security .2 Non-Functional Requirements  Non-functional requirements. o In the Security requirements we have to mention the security at large level. It's a two-way insurance policy that assures that both the client and the organization understand the other's requirements from that perspective at a given point in time.

it must answer three questions: 1.4 Software Requirements     Operating System Windows 2000 or above Database Software SQLyog Enterprise V.6. Most studies tend to overlook the confusion inherent in system development. What are the costs and saving of the alternative(s)? 3.2. So for higher security purpose.3 Hardware Requirements     Processor Pentium III / IV Processor or above RAM 256 MB RAM or higher Hard Disk Space For Installation: 800 MB Available: 10 GB or more Other Peripherals Mouse and Keyboard 2.3 Feasibility Analysis Many feasibility studies are disillusions for both users and analysts.3 or higher version Other Essentials 2. Is there a new and better way to do the job that will benefit the user? 2. One option is to implement the concept of Sessions. The study often done is that when the feasibility of a document is being prepared.2.others.2. we cannot maintain a state always.03 Java Environment Jdk1.2. By this we can provide high level of security. What is recommended? Page 16 . we define Roles and Membership.2. If the feasibility study is to serve as a decision document. the analyst is in a position to evaluate solution. But by sessions. 2.

2. But since earlier.3.3.The most successful system projects are not necessarily the biggest or most visible in a business but rather those that truly meet user expectations. The staff is fully capable of handling information system.2 Legal Feasibility Legal feasibility means that the software developed is legal. Feasibility Study Software feasibility has five solid dimensions: 2. performance and constraints that may affect the ability to achieve an acceptable system is a major factor while making a project. As the problem is worth solving because the manual work is very inefficient and the statement of the problem gives us clue that there is a solution to it and also pretty good chances for it to work. it cannot violate any legal laws. it is said to be legally feasible. Therefore. The new system should be brought according to the specification of the product being designed. Most projects fail because of inflated expectation than for any other reason. all the work was manual and no system existed.2. Page 17 .1 Technical Feasibility It centers on the existing computer system and to what extent it can support the proposed addition. It approves that the software is not violating any governmental constraints and it is following all legal laws. 2. so the system proposed is technically feasible. It is the most difficult area to assess because objective's functions and performance not clear.3.2. Since it is developed for use within a particular area only. A study of function.3 Operational Feasibility This study helps us in finding whether the work to be done will be operational with the available staff and within the given time. 2.

3. no jobs are going to be replaced in this case.4 Economic Feasibility It is used to measure the cost effectiveness of a project which is commonly known as costbenefit analysis.3. 2.3 Design and Implementation  Design Design focuses on the high level design paradigms. These can be like what programs are needed and how are they going to interact. 2. 2. so the end users of the software will always be encouraging towards the use of computer.2. Cost is most easily determined when the receipts if the systems are tangible and measurable.The software has been made in such a way that it becomes easier for the user to answer queries being asked. And the maintenance involved in this is only the maintenance of the computer and that does not cost much. updating the physical facilities & documenting. interface design (what are the interfaces going to look like) Page 18 . it was felt that the proposed system would be operationally feasible. Also. System Performance criteria are evaluated against the cost of each system to determine which system is likely to be the most cost effective and also meets the performance requirements. the low-level design (how the individual programs are going to work). This will facilitate easy use and adoptability of the system. An additional factor to consider is the cost of the study design and requirements.5 Behavioral Feasibility Behavioral feasibility is an estimate of how strong reaction the user staff is likely to have towards the development of a computer system. Since this project lightens the burden of the manual work in the cell. The cost encompasses both designing and installing the system. Based on this.2. The project is also economically feasible as the only requirement involving expenses are related to the cost of buying a new system and a printer for the hard copies. So according to the requirements the system is economically fit. It includes user training.

These phases are crucial and the most concentrated phases of Design. Computer programs are written using a conventional programming language or an application generator. This is the phase when the system gets live. Much care is taken during this phase. Interpreters. system designer designs.  Implementation This is the phase where actual development of the system takes place. Design is a very crucial in the whole development cycle. The above software development process are all vital for a system to get developed with quality and thus to achieve customer satisfaction which is the main objective of any software development process. Analysis phase is used to design the logical model of the system and system design the physical model of the system. Implementation is an ongoing process and can be achieved by one of the following methods: Page 19 . Then the code is written in the programming technology chosen. Programming tools like Compilers. The logical system of the product is developed in this phase. and Java are used for coding. Any glitch in the design phase could be very expensive to solve in the later stage of the software development. If a well structured and analyzed design document is prepared it would reduce the time taken in the coming steps.and data design (what data will be required). Pascal. In other words the code is converted into executables in this phase after code generation. the software's overall structure is defined. the right programming language is chosen. Different high level programming languages like C. That is based on the Design Doccuments prepared in the earlier phase. C++. With respect to the type of application. In this phase. The system design is most creative and challenging phase of the system design life cycle.In this phase the designs are translated into code. and Debuggers are used to generate the code. During these phases.

Page 20 . 2) Gradual Switch Over In Gradual Switch over some of the work is carried out on the old system and some is carried out on the new system and gradually the shifting of the entire work load on the new system is carried out. 4) Maintenance Maintenance is the process of eliminating errors in the working system during its working life and to tune the system to any variation in working environment.1) Total Conversion The system is completely replaced by the new system! From the date when the new system software is implemented all the work of old manual system is directly switched to the new system. In the implementation of my project I have used the parallel conversion method in which I run both systems in parallel. By proper maintenance I can continue to bring the system to new standards. 3) Parallel conversion Conversion is the process of changing from the old system to the new one. Under this approach user is free to operate the old system in the usual manner but they also start using the new system. As my project is error free and produce no bugs for valid data. but I use feature to detect the errors and produce error messages understand by the experienced user and non programmer user. This method is the safest one because it ensures that in case of any problem in using the new system. the user can still fall back to the old system without loss of time and money.

exit from the application etc. 1 This is the main window of the game center which will be displayed when the user opens the application. get help .1 Snapshots 1. an unregistered user can sign up to the game center . Through this window the user can either log in to the game center .3. Main Panel Screenshot No. Page 21 .2.

Sign Up Panel Screenshot No.2 This is the sign up window which will be displayed when a user clicks on the sign up button of the main window or the sign up button of the login window. An unregistered user can register to the game center by giving his/her information in this panel. Page 22 .

Login Panel Screenshot No. Page 23 . The user can login to the game center and play the games by entering the Username and password in this window. 3 This is the login window which will be displayed when the user clicks on the login button of the main window. An option for signing up is also given here for a user who is not registered to the game center.

the user can choose to play any one of the games i. In this window. Tic Tac Toe or Battle Pong.Profile Panel Screenshot No.e.4 This is the profile window which is displayed when a user sucessfully logs in to the game center by giving the correct username and password. Page 24 .

none of the players have won.Tic Tac Toe Screenshot No. Page 25 . i. The above snapshot shows that the game is a tie .5 The above window shows the tic tac toe game which will be displayed when the user clicks on the tic tac toe button on the profile window.e.

6 The above screenshot shows that the player „0‟ has won the game by making a diagonal of three consecutive 0‟s.Screenshot No. Page 26 .

Page 27 .Screenshot No.7 The above screenshot shows that the player „X‟ has won the game by making a diagonal of three consecutive x‟s.

The above snapshot shows the game being played.8 The above screenshot shows the „Battle Pong‟ game which will be displayed when a user clicks on the battle pong button on the profile window. Page 28 .Battle Pong Screenshot No.

The user can alter his/her profile information by entering the relevant information in this window.9 The above screenshot shows the edit panel which will be displayed when the user clicks on the edit button. Page 29 .Edit Panel Screenshot No.

2 Database Table The above screenshot shows the database table of the Game Center. Page 30 .Close Account Panel Screenshot No.10 The above screenshot shows the close account panel. 2. The table contains the registration information of the registered users and is checked everytime a user wants to login. The user can enter his/her name to close the account.3.

m4. public start() { f=new JFrame("Game Center").bt4.l4.it2.sql.m9. menu4=new JMenu("Contact us").i8. m5.bt8.bt9.m3.*.it5.3. m1=new JMenuItem("Exit").m7.2.i5.bt2. JMenuItem m0.p3. JButton bt1. ImageIcon it1. menu1=new JMenu("Account"). JMenu menu0. Page 31 . menu0=new JMenu("Home"). m6=new JMenuItem("Register Complaint").SQLException.i2. m5=new JMenuItem("Report Bug").swing. m7=new JMenuItem("Key Map").3 Source Code Start Code import java.p4.p2.i7. m0=new JMenuItem("Home").menu3. t=new JToolBar(). menubar=new JMenuBar(). JToolBar t.l1.bt6.m8.*.it4.menu2. m2=new JMenuItem("New"). JLabel l.p1.m11.l3.m10.m6.i1. import java. import javax.bt5. JFrame f.awt.i4. JPanel p.l5. public class start implements ActionListener { JMenuBar menubar.menu1.m1.i6. p=new JPanel().l2. JMenu("Help").it6. menu2=new menu3=new JMenu("About"). m4=new JMenuItem("Delete").menu4.i3. m3=new JMenuItem("Edit").m2.

menubar. l3.addSeparator().t.addSeparator().bt8=new JButton(i4). menu1. i3=new ImageIcon("D:/GC/battle. menu3.t. menu4. bt9=new JButton(i5).add(m4). t.add(m6).jpg").jpg"). l2.jpg").add(m10).add(m7).m9=new JMenuItem("The Bank"). bt4=new JButton(it4). menubar. menu0. l=new JLabel(i6). t.add(m11).l1=new JLabel(i1).add(bt4).add(m9). menubar.addSeparator(). m10=new JMenuItem("Via Phone"). i8=new ImageIcon("D:/GC/label.jpg"). l1. l4=new JLabel(i7).add(m5). m8=new JMenuItem("The Application"). i2=new ImageIcon("D:/GC/tictac.addSeparator().setSize(50.add(m8). 100). l.setSize(100. t.add(m0). m11=new JMenuItem("Via Mail").jpg"). menubar. it1=new ImageIcon("D:/GC/login. 60).add(bt2).t. bt1=new JButton(it1).jpg"). t. it2=new ImageIcon("D:/GC/signup.menu1. menu3. l3=new JLabel(i3).add(m3).setSize(100. i6=new ImageIcon("D:/GC/title.it6=new ImageIcon("D:/GC/contactus. menu0.add(m2).add(menu3). it5=new ImageIcon("D:/GC/help. menu4.jpg"). bt6=new JButton(it6).addSeparator().100).l5=new JLabel(i8).100). l2=new JLabel(i2). i5=new ImageIcon("D:/GC/exit.add(menu0). bt2=new JButton(it2). it4=new ImageIcon("D:/GC/email. menu1.jpg").t.addSeparator().t.add(m1). menu2.add(menu4).menu2.add(bt1). menubar.add(menu1).t.jpg").add(menu2).add(bt8). t. menu2.jpg").jpg").add(bt5).setSize(100. Page 32 . i1=new ImageIcon("D:/GC/main.jpg").add(bt6). bt5=new JButton(it5).t. i4=new ImageIcon("D:/GC/aboutus.

addActionListener(this). m5.setActionCommand("Trouble1").m11. m1.t.addActionListener(this). t. m9. 1059.addActionListener(this). bt4. m2.setBounds(0. m10.bt6. 800).addActionListener(this). menubar.addActionListener(this).addActionListener(this).setActionCommand("Contact"). menubar. f.setJMenuBar(menubar). m4.setActionCommand("Trouble2").addActionListener(this).setActionCommand("Email").setActionCommand("Login").addActionListener(this).addActionListener(this). m6. bt8. m8.setActionCommand("Help").bt2. m10.m9. Page 33 . menubar.setActionCommand("About"). bt9. m4. m11. m7.bt6.setActionCommand("Delete").GREEN).addActionListener(this).setBackground(Color.setRollover(true).addActionListener(this). bt8.setActionCommand("Home").addActionListener(this).m7.setActionCommand("Contact").addActionListener(this). 0. m8.setActionCommand("Signup"). m0.addActionListener(this).setActionCommand("About").setActionCommand("Signup").add(bt9).addActionListener(this).addActionListener(this). m1. m3. m5. m6.m3. f.setActionCommand("Help"). m2. bt4.setForeground(Color.addActionListener(this). bt5."North").bt2.add(t. bt9.addActionListener(this).setFloatable(false).ORANGE).setActionCommand("Exit").setActionCommand("Email").setActionCommand("Edit"). m0.setActionCommand("Exit"). bt5. bt1.addActionListener(this). bt1.setActionCommand("Signup").t.

setVisible(false).out. f. } else if(str=="Delete") { f. new home().setVisible(false). try { new new_user(). new home(). } else if(str=="Login") { f.println(str). 760).} else if(str=="Signup") { f.getActionCommand().setVisible(false). } public void actionPerformed(ActionEvent e) {String str=e.p.add(l5).setVisible(false). } else if(str=="Edit") {f.} catch (SQLException e1) Page 34 . f. f. new home().setSize(1280.setVisible(true). f.add(p). } public static void main(String args[]) { new start().setVisible(false). if(str=="Home") {new start(). System.

"To report a Bug in the Application .util.showMessageDialog(null."This Bank Application has been develpoed in the Java Environment.showMessageDialog(null.{ e1. Page 35 .com". import javax.} else if(str=="Contact") { JOptionPane."Mr.IOException.*.swing."!! About !!". import java.printStackTrace().JOptionPane.} } else if(str=="About") { JOptionPane.".JOptionPane.JOptionPane.INFORMATION_MESSAGE).JOptionPane.com". Mail us at : arlcmpreg@hotmail."!! Report Bug !!". import java.java import java.INFORMATION_MESSAGE). } else if(str=="Help") new help().INFORMATION_MESSAGE). } else if(str=="Email") {JOptionPane.io.awt. Mail us at : arlcmpreg@hotmail.showMessageDialog(null.com". } else if(str=="Exit") f. Mail us at : jigsawjagrit@hotmail.showMessageDialog(null.} else if(str=="Trouble2") {JOptionPane."To Register your Complaint regarding any issue .*."!! Register Your Complaint!!".showMessageDialog(null.setVisible(false). }} Home."Phone".*. else if(str=="Trouble1") {JOptionPane.*.INFORMATION_MESSAGE).INFORMATION_MESSAGE)."E-Mail". import java."For any Queries or Suggestions .sql.JOptionPane.Jagrit Makhija : +919928834742".

add(m1).l4. m2=new JMenuItem("Sign Up").b2. l4=new JLabel(i2). menubar. menu2=new JMenu("Login"). b2=new JButton(i1). m4=new JMenuItem("Via Phone").menu2.i1.m2.JLabel.jpg"). m3=new JMenuItem("Company"). JButton b1. menubar=new JMenuBar().add(menu2). l4. JMenu menu1. p2=new JPanel(new FlowLayout()). menu3.l2. menubar.setSize(100.p6.l3. p3=new JPanel(new FlowLayout()).p2. p5=new JPanel(new FlowLayout()). Page 36 . l2=new JLabel("* Password :". JPanel p. t2=new JPasswordField(20). menubar. JDesktopPane jdp. ImageIcon i. menubar.RIGHT).m3. t1=new JTextField(20).t2.add(menu4). JToolBar t.jpg").i2.p5. p=new JPanel(new GridLayout(7.menu3.add(menu3).add(m0).menu4. i1=new ImageIcon("D:/GC/signup. JMenuItem m0. JFrame f. m1=new JMenuItem("Exit"). menu1. menu1.add(m3).JLabel. JTextField t1.p7.b1=new JButton(i).m1.m4. i=new ImageIcon("D:/GC/login.100). l3=new JLabel("Not an existing Account Holder ??". menu4=new JMenu("Contact us"). menu2.public class home implements ActionListener { JMenuBar menubar. p7=new JPanel(new FlowLayout()). public home() { f=new JFrame("Gamer Login").RIGHT). m0=new JMenuItem("Home"). menu3=new JMenu("About us"). menu1=new JMenu("Home").jpg"). p4=new JPanel(new FlowLayout()).JLabel l1. i2=new ImageIcon("D:/GC/title2. m5.p3. m5=new JMenuItem("Via Mail"). l1=new JLabel("* Username:". 1)).JLabel.p4.add(m2).RIGHT).add(menu1). p6=new JPanel(new FlowLayout()).

add(p4).getActionCommand(). m5.add(p).setVisible(false).add(t2). m1. b2. 850.setActionCommand("Sign Up").setVisible(false).setActionCommand("Home"). f.add(l1). p.add(b2). 800).addActionListener(this). p. m0. if(sp=="Home") { new start(). m3. m4.add(p3).setBounds(0. p3.add(m5).b1. p5.setVisible(false).add(p2). menubar. } public static void main(String args[]) {new home(). } catch (SQLException e1) {e1.add(b1).try { new_user n=new new_user(). 680). p. p2.addActionListener(this). p3.addActionListener(this). 1059. f. menubar. p.add(l4). menu4.f.setJMenuBar(menubar).add(l3).add(p7). p. 0. } public void actionPerformed(ActionEvent e) {String sp=e.add(t1).setBackground(Color.addActionListener(this). f.printStackTrace(). b2. p7.addActionListener(this). else if(sp=="Sign Up") { f. p6.DARK_GRAY).setBounds(0. }} else if(sp=="Company") Page 37 . 0.menu4.addActionListener(this).f. p4. m0. b1.add(m4). p.add(p5).f.add(l2).setVisible(true). f. menubar.setFocusable(true). } else if(sp=="Exit") f. p2. m2.add(p6).addActionListener(this).ORANGE).setActionCommand("Login").setResizable(true).setForeground(Color.addActionListener(this).

com lp_jana@hotmail."EMail". f. ps. } else if(sp=="Via Mail") {JOptionPane.setString(1.myConnection().JOptionPane. } else if(sp=="Login") {String s=t1. Ltd.executeQuery()."phone"."Chronic Softwares Pvt.setInt(2. try { PreparedStatement ps=cn. int bal=0."Mr.{JOptionPane.parseInt(t1.getText()). } else if(sp=="Via Phone") { JOptionPane.showMessageDialog(null.prepareStatement("select name from account where password=? and status=?"). if(str==a) { try { profile_acc p=new profile_acc(name).INFORMATION_MESSAGE). String name = null."CO.getString("name"). t2.next()) name=rs."For any Queries or Suggestions . ResultSet rs=ps. ps.showMessageDialog(null.INFORMATION_MESSAGE). Mail us at : jigsawjagrit@hotmail. } catch (IOException e1) e1.INFORMATION_MESSAGE). } else Page 38 .printStackTrace().getText()).JOptionPane.".". { Connection cn=database.JOptionPane. int str=0.getText().showMessageDialog(null.Janardan Bhatt : +917596728861 ".1). int a=Integer.setVisible(false).Jagrit Makhija : +919928834742 Mr.com". while(rs.

p=new JPanel(new GridLayout(4. menubar=new JMenuBar(). JButton b1.1)).p1.JLabel l.JMenu menu1.l2. Page 39 . public class profile_acc implements ActionListener { JMenuBar menubar. public profile_acc(String s) throws IOException {ff=new JFrame("Your Profile").JFrame ff.setText(null).bal. p1=new JPanel(new FlowLayout()).p2.setText(null). menu1=new JMenu("Options").l1. JOptionPane.p3.printStackTrace().i2.swing. must be in digits !!".java import java.JMenuItem m1.*. "Warning". "!!! Closed Account or Incorrect Match !!!". } } catch (Exception e1) { e1.menu2.String path. t2.ERROR_MESSAGE). } } else { JOptionPane. JOptionPane.setText(null).ERROR_MESSAGE).*. p3=new JPanel(new FlowLayout()). name=s. t1.int acc.sql. p2=new JPanel(new FlowLayout()).showMessageDialog(null.*.showMessageDialog(null.{JOptionPane. p4=new JPanel(new FlowLayout()). t1. import java.p4. t2.i1. menu2=new JMenu("Transaction").setText(null).m5. import javax.io. import java.name.ImageIcon i.awt.JPanel p. "Warning". "!! Account No.m6.*. }} }} Profile_acc.

setBounds(0.80).jpg"). i=new ImageIcon("D:/Bank/I/logout.add(menu1).black). ff. p. menu1.0). l. l2.setBounds(0.m1=new JMenuItem("Close Account").10. p3. m1.b1=new JButton(i).5).BLUE).menubar.addActionListener(this). i2=new ImageIcon("D:/Bank/I/profile.add(m6).getActionCommand()./Mrs.setText("Welcome Mr.menu1. if(s=="Close Account") { ff. l2=new JLabel().ORANGE). menubar.add(menu2).setForeground(Color.setBackground(Color. m6=new JMenuItem("Edit Account").add(l1). p. menubar. ff.20.setVisible(true).} else if(s=="BPong") Page 40 .setBounds(200. l1. ff.addActionListener(this). l.dispose(). ff. l=new JLabel(i1).add(p4). ff. ff.EXIT_ON_CLOSE). l1=new JLabel(i2). m6. ff. p. "+name).addActionListener(this).setActionCommand("Logout").setVisible(false). i1=new ImageIcon("D:/Bank/I/arial2.setDefaultCloseOperation(JFrame.add(p).setBackground(Color.setLocation(0.ff.40.add(m1). p.add(b1). new start(). 0.add(p3).jpg"). p4.add(p1). b1.} public static void main(String args[]) throws IOException {} public void actionPerformed(ActionEvent e) { String s=e.setBackground(Color. p2.add(l2).bal).jpg").p1. b1.name.add(p2).add(l). 800.setJMenuBar(menubar). 600). l.pink). new close(acc.300.pack(). } else if(s=="Logout") { ff.

this.event. } else if(s=="TicTac") {ff.boolean firstPlayer = true. i < 3.*.new TicTacToe().*.addActionListener(this).CENTER).public void init() {playPanel.boolean moved = false. int turnNum = 0. Button[][] box = new Button[3][3].dispose().dispose(). boolean gameType = true.}} typeButton = new Button("Switch Game Type to Single Player"). header).awt. j++) { box[i][j] = new Button("").setLayout(new GridLayout(3. this. playPanel. typeButton. new edit(acc.}}} TicTacToe. for (int i = 0.add("South".awt.box[i][j].*.Panel playPanel = new Panel(). Label header = new Label("Player X make your move!". public class TicTacToe extends Applet implements ActionListener {private static final long serialVersionUID = 1L.add("Center".new game().score[i] = 0.this.3)). Page 41 .boolean playEnabled = true. import java.playPanel).applet.int[] score = new int[3]. import java. Button typeButton = new Button().bal).name.{ ff. } else if(s=="Edit Account") {ff. i++) {for (int j = 0.java import java.addActionListener(this).setVisible(false). j < 3.this. Label.setLayout(new BorderLayout()).add("North".typeButton).add(box[i][j]).

getLabel(). k < 2.this. header. k < 3.setBackground(null). Font.PLAIN.setFont(new Font("TimesRoman". l++) {if (box[k][l].PLAIN.toString(k) + Integer.getLabel() == "") {blank[index] = Integer.getLabel().equals("") && playEnabled) {go(i. Font.}}} for (int k = 0.getLabel(). i < 3.setFont(new Font("TimesRoman".this.getSource() == box[i][j] && box[i][j]. k++) {if (k == 1) {turn = "X". if (!gameType && playEnabled) {for (int k = 0.index++. for (int i = 0. for (int i = 0.String turn = "O". j++) {if(e. i++) {for (int j = 0. i++) {for (int j = 0. j++) {box[i][j]. j < 3.j). typeButton. turn2 = "O".PLAIN.equals("") && Page 42 . 12)). l < 3.equals("") && box[1][0].equals("") && box[0][2]. k++) {for (int l = 0. i < 3. Font.setFont(new Font("TimesRoman". j < 3.String turn2 = "X".}}} public void actionPerformed(ActionEvent e) {String blank[] = new String[9].getLabel().moved = false.int index = 0. 250)).setSize(new Dimension(250. 24)).toString(l). 12)).equals("") && box[0][1].} if (!moved && playEnabled) {if (box[0][0].getLabel().

equals(turn2) && box[2][1].equals("") && box[0][1].equals(turn2) && box[1][0].equals(turn2) && box[1][0].getLabel().getLabel().getLabel().equals("") && box[0][1].getLabel().equals("") && box[1][1].getLabel().equals(turn2) && box[2][2].getLabel().equals(turn2) && box[2][2].equals("") && box[1][0].equals("") && box[0][1].equals("") && box[2][1].getLabel(). 2).getLabel().equals("")) go(2.equals(turn2)) go(1.equals("") && box[2][1].equals("")) go(1.getLabel().equals("") && box[1][1].getLabel().getLabel().getLabel(). 0).box[1][1].getLabel().equals("") && box[1][0].equals("") && box[0][1].getLabel(). else if (box[0][0].equals("") && box[2][0].getLabel().equals(turn2) && box[0][2].equals("") && box[1][1].getLabel().getLabel().getLabel().getLabel().getLabel().equals("") && box[2][0].getLabel().getLabel().equals(turn) && box[0][2].equals("") && box[2][0].equals(turn) && box[1][2].equals("") && box[2][2].equals("") && box[1][0].getLabel().getLabel(). else if (box[0][0].equals("") && box[2][1].equals("") && box[2][1].getLabel().equals(turn2) && box[2][2].getLabel(). 2).getLabel().equals("") && box[1][0].equals("") && box[2][2]. else if (box[0][0].equals(turn2)) go(0.equals("")) go(0.getLabel().getLabel().getLabel().equals("") && box[2][0].equals("") && box[2][1].getLabel().getLabel().getLabel().equals("") && box[1][1].equals(turn) && box[1][2].getLabel().equals("") && box[1][1].getLabel().getLabel().equals("") && box[1][1].equals("") && box[0][2].getLabel(). 0). else if (box[0][0].getLabel().getLabel().getLabel(). else if (box[0][0].getLabel().equals(turn2) && box[2][0].getLabel().equals("") && Page 43 . 2).equals(turn2) && box[0][1].equals("") && box[0][2].equals("") && box[0][2].getLabel().getLabel().getLabel().getLabel().equals("") && box[0][2].equals("") && box[2][2].equals(turn2) && box[0][1].getLabel().getLabel(). else if (box[0][0].equals("")) go(1.equals(turn) && box[1][2].getLabel().getLabel().equals(turn) && box[1][2].getLabel().equals("") && box[1][0].equals("")) go(2.equals(turn) && box[0][1].equals(turn2) && box[1][2].equals(turn) && box[1][2].getLabel().equals(turn2) && box[2][2].getLabel().equals("") && box[2][0].getLabel().getLabel().getLabel(). 0).getLabel().equals("") && box[0][2]. else if (box[0][0].getLabel(). 1).equals(turn) && box[1][2].getLabel().getLabel().getLabel().getLabel().getLabel().equals("") && box[2][1].equals(turn2) && box[2][0].

getLabel().getLabel().equals(turn2) && box[0][2].getLabel().equals("") && box[2][1].equals(turn) && box[0][1].getLabel().equals("") && box[2][1].getLabel().getLabel().getLabel(). else if (box[0][0].equals("") && box[1][2].equals("")) go(2.getLabel().equals("") && box[2][0].equals("")) go(0.getLabel().equals("") && box[1][0].getLabel().getLabel().equals(turn2)) go(1.equals(turn2) && box[2][1].getLabel().equals(turn) && box[0][2].getLabel().getLabel().getLabel().equals(turn2) && box[2][0].equals("") && box[0][2].equals("") && box[0][2].equals("") && box[2][0]. else if (box[0][0]. 2). else if (box[0][0].equals(turn2) && box[2][0].getLabel().getLabel().equals("") && box[0][1].getLabel().equals("")) go(2.equals("") && box[0][2].equals("") && box[2][1].getLabel(). 0).getLabel().getLabel().getLabel().getLabel().getLabel().equals(turn) && box[0][1].getLabel().equals("") && box[1][0].equals("") && box[1][0].equals(turn) && box[1][1].getLabel().equals("") && box[1][1].equals("") && box[1][1].equals(turn2) && box[0][1].getLabel().getLabel().getLabel().getLabel().equals("") && box[2][0].getLabel().getLabel().getLabel().getLabel(). 1).getLabel().getLabel().equals("") && box[1][1].equals(turn) && box[1][2]. 2).getLabel(). else if (box[0][0].getLabel().equals("") && box[1][1].equals(turn) && box[0][2].equals("") && box[2][2].getLabel().equals("") && box[0][1].getLabel(). else if (box[0][0].getLabel().equals(turn) && box[1][2].getLabel().equals(turn2) && box[1][0]. 0).equals(turn2) && box[1][0].equals("") && box[0][2].equals("") && box[2][2].equals("")) go(2.getLabel().getLabel().equals(turn2) && box[0][1].getLabel().equals(turn) && box[1][2].equals("") && box[1][0].getLabel().equals("") && box[2][1].box[1][1].getLabel().getLabel().getLabel().getLabel().getLabel(). 2). else if (box[0][0].equals(turn) && box[0][1].equals(turn2) && box[2][2].equals("") && box[2][2]. else if (box[0][0].getLabel().equals("") && box[2][1].equals("") && box[2][0].getLabel().equals(turn2) && box[2][1].equals("") && box[2][2].getLabel().equals(turn2) && box[2][2].equals("") && box[2][0].getLabel().getLabel().getLabel().equals(turn) && box[1][2].equals(turn) && box[1][2].getLabel().getLabel().getLabel().equals(turn) && box[1][2].equals("") && Page 44 .equals("")) go(2.equals("") && box[1][1].equals("")) go(2.getLabel(). 2).equals("") && box[2][2].getLabel().getLabel().equals("") && box[1][0].

else if (box[0][0].equals("") && box[0][2]. else if (box[0][0].box[1][1].getLabel().equals("") && box[2][2].equals(turn2) && box[0][1].equals("") && Page 45 .getLabel().getLabel().getLabel().equals(turn2) && box[0][1].equals("") && box[1][1].equals(turn2) && box[1][1].equals(turn) && box[1][0].equals("") && box[2][2].getLabel().getLabel().equals("") && box[1][2].getLabel().equals(turn2)) go(0.getLabel().equals("") && box[0][2].getLabel(). 2).equals("") && box[0][1].getLabel().getLabel().equals(turn) && box[1][2].getLabel().getLabel().equals("") && box[1][2]. 1).equals("") && box[2][2].getLabel().getLabel().equals("") && box[1][1].getLabel().equals("") && box[2][0].equals("") && box[0][1].equals("") && box[2][0].getLabel().getLabel().equals(turn) && box[1][2].getLabel().equals("") && box[0][2].getLabel().equals(turn2) && box[0][2].equals("") && box[1][2].equals("")) go(2.getLabel().equals("")) go(2.equals("") && box[0][1].getLabel().equals("") && box[1][2].equals("") && box[2][0].getLabel().equals(turn2) && box[2][1].equals("") && box[1][0].equals(turn2) && box[0][1].getLabel().getLabel().equals("") && box[0][1].getLabel().getLabel().getLabel().getLabel().getLabel().getLabel().equals("") && box[1][1].getLabel(). else if (box[0][0].getLabel().getLabel().getLabel().getLabel().getLabel().equals("") && box[2][2]. 2).equals("")) go(2.equals(turn) && box[2][1].equals("") && box[2][0].getLabel().equals("") && box[2][0].getLabel(). 2).getLabel().getLabel().getLabel().equals("")) go(0.getLabel().equals("") && box[1][2].equals("") && box[0][2].equals("") && box[1][1].getLabel(). 0).equals("") && box[2][2].equals("") && box[2][2]. else if (box[0][0].getLabel().equals("") && box[1][0].equals(turn2) && box[1][0].getLabel().getLabel().equals("") && box[1][0].equals(turn) && box[1][0].getLabel().getLabel().equals("") && box[2][1].getLabel().getLabel().getLabel().getLabel(). else if (box[0][0].getLabel().equals(turn) && box[2][1].equals("") && box[0][2].equals(turn2) && box[2][1].equals(turn)) go(0.equals("")) go(1. 0). else if (box[0][0].getLabel(). else if (box[0][0].getLabel().getLabel().getLabel().equals("") && box[1][1].getLabel().equals("") && box[2][0].equals("") && box[2][1].getLabel().getLabel(). 2).getLabel().equals("") && box[2][0].getLabel().equals(turn) && box[2][1].equals("") && box[2][2].equals(turn2) && box[1][0].equals("") && box[0][2].

getLabel(). Page 46 .equals(turn) && box[1][2].equals(turn)) go(0. 2).getLabel().getLabel().equals("") && box[2][0]. else if (box[0][0].getLabel().equals(turn)) go(1.getLabel().getLabel().equals("") && box[2][1].getLabel(). else if (box[0][0].getLabel().equals(turn) && box[2][0].getLabel().equals("") && box[2][2].getLabel().equals("") && box[1][1]. else if (box[0][0].0).getLabel().getLabel().equals("") && box[0][1].getLabel().equals("") && box[0][1].getLabel().equals(turn) && box[1][2].getLabel().getLabel().equals(turn2) && box[0][2].equals("") && box[2][0].getLabel().equals("") && box[2][2]. else if (box[0][0].getLabel().equals(turn) && box[2][2].getLabel().getLabel().equals(turn)) go(2.box[1][1].getLabel().equals("") && box[1][0].getLabel(). else if (box[0][0].equals("") && box[2][1]. 2).getLabel().getLabel().getLabel().getLabel().equals("") && box[1][0].equals(turn2) && box[1][1].getLabel().equals("") && box[1][0].equals(turn2) && box[2][2].equals("") && box[2][2].getLabel().getLabel().getLabel().getLabel().getLabel().getLabel(). 2).equals("") && box[0][1].getLabel().getLabel().getLabel().getLabel().equals("") && box[1][1].equals(turn2) && box[2][1].getLabel().equals(turn2) && box[0][2].getLabel().getLabel().getLabel().equals("") && box[1][2].getLabel(). 0). 2).equals("")) go(0.equals("") && box[2][0].equals(turn) && box[2][1].getLabel().equals("") && box[1][1].equals("") && box[2][1].equals(turn2) && box[1][2].equals("")) go(2.getLabel().getLabel().equals("") && box[1][1].equals("") && box[2][0].equals("") && box[2][1].getLabel(). else if (box[0][0].equals("") && box[0][2].equals(turn)) go(0.equals("")) go(2.getLabel().getLabel().getLabel().equals("") && box[2][0].equals("") && box[2][2].equals(turn) && box[1][2].getLabel().equals("")) go(2.equals("") && box[1][1].equals("") && box[0][1].equals(turn) && box[1][0].equals("") && box[2][1].equals("") && box[0][2].equals(turn2) && box[1][2].getLabel().getLabel(). 0).getLabel().getLabel().getLabel().getLabel(). 1). else if (box[0][0].equals("") && box[1][0].equals(turn) && box[2][2].getLabel().equals("") && box[0][2].equals("") && box[2][2].equals("") && box[1][0].getLabel().getLabel().equals(turn2) && box[1][1].equals("") && box[0][2].equals(turn2) && box[2][0].getLabel().getLabel().getLabel().equals("") && box[0][1].equals(turn2) && box[0][1].equals(turn) && box[1][2].

equals(turn) && box[2][0].else if (box[1][1].equals(turn) && box[1][Integer.getLabel().getLabel().parseInt(blank[l].equals(turn) && box[2][Integer.substring(0.1))][1].equals(turn)) || (box[0][2].parseInt(blank[l].equals("") && box[1][1].equals(turn) && box[2][2].getLabel().getLabel().getLabel().equals("") && ((box[0][0].getLabel().equals("") && !moved && playEnabled) {go(1.1))][2].getLabel()).getLabel().substring(0.Integer.parseInt(blank[l].getLabel().equals(turn)) go(2.getLabel().1))][0]. l < index && !moved && playEnabled.}}}}} if (box[1][1].substring(1))].equals("2") &&box[Integer.equals(turn) && box[2][0].1)).equals(turn)|| blank[l].getLabel().2).equals(turn)|| blank[l].2).equals(turn) && box[1][1].getLabel().}}} Page 47 .equals("") && box[1][1].parseInt(blank[l].parseInt(blank[l].parseInt(blank[l].substring(1))).getLabel().equals("0") && box[1][Integer. else if (box[2][2].1).1))][1].getLabel().getLabel().substring(1).substring(1))].equals("1") && box[0][Integer.substring(1))].parseInt(blank[l].parseInt(blank[l].1))][0].getLabel().substring(0.substring(0.parseInt(blank[0]. else if (box[0][2].getLabel().equals(turn)) go(0.equals("1") &&box[Integer.substring(0.getLabel().substring(1))).getLabel().getLabel().equals("2") && box[0][Integer.substring(1).} else if(!moved && playEnabled) {go(Integer.0).getLabel().getLabel().substring(1))].parseInt(blank[l].parseInt(blank[0].substring(0.parseInt(blank[l].substring(0.parseInt(blank[l].Integer.equals(turn) && box[Integer.equals(turn)))) go(1.substring(0. else{for (int l = 0.substring(0.1).getLabel().1).equals(turn) && box[Integer.1).parseInt(blank[l]. l++) {if(blank[l].getLabel().equals(turn)) {go(Integer.substring(0.parseInt(blank[l].substring(1))].equals(turn) && box[Integer.substring(1))].getLabel().equals(turn) && box[2][Integer.equals(turn)|| blank[l].1))][2].equals("") && (box[0][0].equals(turn)) go(2.equals(turn)|| blank[l].substring(0.1)).parseInt(blank[l].1).equals(turn) && box[0][2].equals(turn)|| blank[l].getLabel().substring(1). else if (box[2][0].getLabel().equals("0") && box[Integer.

equals("") && box[y][0].getLabel()) && box[y][1].getLabel().}}}} public void main(){} public void go(int y.equals(box[1][x]. if (!box[y][0].red).red).setLabel("X").getSource() == box[i][j]) && !playEnabled) {newGame().} else {gameType = true.setBackground(Color.red).playEnabled = false.} else if (!box[0][x].setBackground(Color.else if((e. newGame().score[2] = 0. box[y][2].getLabel().getLabel().getLabel().turnNum++.getLabel(). if (turnNum % 2 == 0 && !firstPlayer || turnNum % 2 == 1 && firstPlayer) box[y][x].getLabel()) && box[1][x]. typeButton.score[1] = 0.setBackground(Color.getLabel().} else if(e. int x) {moved = true.equals(box[2][x].setLabel("Switch Game Type to Single Player").getSource() == typeButton) {if (gameType) {gameType = false.getLabel())) { box[y][0].} firstPlayer = false. typeButton.equals(box[y][1].getLabel())) Page 48 .setLabel("Switch Game Type to Multi Player").box[y][1].setLabel("O"). else if (turnNum % 2 == 1 && !firstPlayer || turnNum % 2 == 0 && firstPlayer) box[y][x].equals("") && box[0][x]. score[0] = 0.equals(box[y][2].

setBackground(Color.equals("") && box[0][0]. if (!gameType) {if(box[y][x]. box[2][2].getLabel())) { box[0][2].red).} if(!playEnabled) {header.getLabel().red).} else if (gameType) {header.equals(box[1][1]. else score[2]++.playEnabled = false.equals(box[1][1].getLabel().getLabel().getLabel())) { box[0][0].getLabel()) && box[1][1].playEnabled = false.getLabel().getLabel().setBackground(Color.equals("") && box[0][2].getLabel().setBackground(Color.red).setText("Player " + (box[y][x].setBackground(Color.}} Page 49 .red).setText("Player " + box[y][x]. playEnabled = false. box[2][x].} else if (!box[0][2].setText("Cat's Game! Click to begin a new game!").red).} else if (!box[0][0].}} else if(turnNum == 9) {header. box[2][0]. if (!gameType) score[1]++.red).box[1][x].equals("O") ? "X" : "O") + " make your move!").setBackground(Color.equals("X")) score[0]++.setBackground(Color.equals(box[2][0].setBackground(Color.getLabel() + " wins! Click to begin a new game!").getLabel()) && box[1][1].red).box[1][1].equals(box[2][2].setBackground(Color.red).setBackground(Color.getLabel().red).box[1][1].playEnabled = false.getLabel().{ box[0][x].

for (int i = 0.setColor(Color.paintComponent(g).fillRoundRect(p1x. import java.}} if (gameType) header. if (!gameType && !firstPlayer) go(1.playEnabled = true. 10).fillRoundRect(p2x+getWidth()-20. else header.p2y. 10). p1y. }} Page 50 .*. g. public MyPanel( ){ bx=10. 100. i < 3.setText("Player: " + Integer. by=200.by. 10.swing. box[i][j]. 100.p1y.toString(score[1]) + " Computer: " + Integer.java import javax.p2x.g. p2y = 180. 10. public void paintComponent(Graphics g) { p2x = 0.setLabel(""). j++) { box[i][j].toString(score[2])).fillOval(bx. p1y = 180. } super.awt.p1x. p1x = 0.toString(score[0]) + " Cat's: " + Integer. p2y.}} Battle Pong MyPanel. j < 3. g.g. public class MyPanel extends JPanel{ int bx. 15. firstPlayer = firstPlayer ? false : true.BLACK).setColor(Color.g.GREEN). by. 15). 10.*.setBackground(null).setText(firstPlayer ? "Player O make your move!" : "Player X make your move!"). 10. i++) {for (int j = 0.public void newGame() {turnNum = 0.1).

myFrame. lb2.add(lb1).int score1.} private void initGUI( ) { myFrame = new JFrame(). MyPanel myPanel.this). changeBallDirection().*.Container c = myFrame.setLayout(new BorderLayout()). import java.swing.repaint().addKeyListener(new KeyboradHandler()). public class Game implements ActionListener{ JFrame myFrame.int val. pad2=false. boolean pad1=false. myPanel.setSize(500. c.awt.Game.add(myPanel). myFrame.add(lb2).myPanel = new MyPanel(). t.setVisible(true).score2 = 0.start(). lb1 = new JLabel("Player1 = 0").c. import java.getContentPane().int score2.myFrame.event. } public class KeyboradHandler extends KeyAdapter { public void keyPressed(KeyEvent ke) {if(ke.*. JLabel lb1.Timer t = new Timer(20.myPanel.*.myPanel.awt.}public void actionPerformed(ActionEvent a) { determineBallDirection().VK_DOWN)//move the paddle downward Page 51 .java import javax. public Game() {score1 = 0.getKeyCode()==ke. myFrame. lb2 = new JLabel("Player2 = 0").setDefaultCloseOperation(JFrame.500). initGUI().EXIT_ON_CLOSE).

p2y += 5.p1y += 5.}}} public void determineBallDirection() { if(pad1==true && myPanel.bx>=(myPanel.getWidth()-40)) Page 52 .p1y != 0) myPanel.getKeyCode()==ke. } else if(pad2==true && myPanel.getHeight()-15) { val=3.{if(myPanel.pad2=true.} if(ke.p1y -= 5.p2y != 365) myPanel.by >= myPanel.getWidth()-40)) {val=4. if(myPanel.getKeyCode()==ke.p2y+80 && myPanel.by <= 0) val=4.p2y && myPanel.getKeyCode()==ke.} if(ke.VK_A)//move the paddle Upward {if(myPanel.by > myPanel.p2y+40 && myPanel.by <= 0) val=1.p2y != 0) myPanel.bx>=(myPanel. } else if(pad1==true && myPanel.p2y -= 5.pad1=false.by >= myPanel.getHeight()-15) {val=2.by >= myPanel. else if(pad2==true && myPanel.p2y+40 && myPanel.VK_UP)//move the paddle Upward {if(myPanel.by <= myPanel.VK_Z)//move the paddle downward {if(myPanel.} if(ke.by <= myPanel.p1y != 365) myPanel. } else if(myPanel.

bx -= 5.bx += 5. case 8:myPanel.bx < 0) {score2++.myPanel.p1y+40 && myPanel.by <= myPanel.p1y = 180.{val=2. case 4:myPanel.val=8. break. } else if(myPanel. } } public static void main(String args[]){ Page 53 public void changeBallDirection( ) . break. break.pad1=true.by = 200.myPanel.myPanel.myPanel. pad2=false.p1y+40 && myPanel. lb1.by <= myPanel.by >= myPanel.bx = myPanel.getWidth()) { score1++.setText("Player 1 ="+ score1 +"").val=7.pad1=false.myPanel.getWidth()-40.bx = 10. pad1=true. myPanel. break.bx<=10) { val=1.p2y = 180. break.myPanel. } else if(myPanel.by += 5.bx -= 5.bx<=10) { val=3.by -= 5.myPanel. case 2: myPanel. } if(myPanel. lb2.pad2=true.setText("Player 2 ="+ score2 +"").p1y = 180. case 7:myPanel.bx >= myPanel. case 3:myPanel.by = 200. } else if(myPanel.bx += 5. break.p1y+80 && myPanel.myPanel.myPanel.by -= 5.by += 5. } } { switch(val) {case 1:myPanel.p2y = 180.pad2=false.p1y && myPanel.by >= myPanel.

aa=aa+1. JLabel l2.t3.t6.jpg").p8.p7. p6=new JPanel(new FlowLayout()).}} New_User. p1=new JPanel(new FlowLayout()).prepareStatement("select* from account"). ResultSet r=ptt.util. b3=new JButton(i2). ImageIcon i.swing. p4=new JPanel(new FlowLayout()). i1=new ImageIcon("D:/GC/cancel.*. b2=new JButton(i1). import java.t4.b2.executeQuery().p3. int aa. JPanel p.*.*. public new_user()throws SQLException { Connection c=database.l4.i1. aa=r.sql. import java.Game game = new Game(). p7=new JPanel(new FlowLayout()). t3=new JPasswordField(20). p3=new JPanel(new FlowLayout()). f=new JFrame("Sign Up"). JTextField t2.p1.p4.java import java.l3. p8=new JPanel(new FlowLayout()). i2=new ImageIcon("D:/GC/close.next()) { else aa=101.p5. import javax.jpg"). PreparedStatement ptt=c.myConnection().getInt("acc_no"). b1=new JButton(i). t2=new JTextField(20).last().p6. public class new_user implements ActionListener { JFrame f.awt.1)).b3.i2.p2. i=new ImageIcon("D:/GC/save. p2=new JPanel(new FlowLayout()).l6. } . Page 54 r.jpg").*. JButton b1. p=new JPanel(new GridLayout(8. p5=new JPanel(new FlowLayout()). if(r.

p4.RIGHT).add(l2).p4. if(str=="Save") { f.p7. b3.endsWith("@rediff. f. p.getText(). l3=new JLabel("Password :". b1.s6. st=1.p5.com").add(t4). b3.add(l6).s6=t6.add(p4).add(p2).add(l3). System.out.b1.setActionCommand("Close").sa. boolean bb=s4. l4=new JLabel("Email : l6=new JLabel("Address :".setActionCommand("Save").setSize(450.add(p7). } s3=t3.add(l4). boolean b.setResizable(false).matcher(s2).add(t2). 600).t4=new JTextField(20).add(b3).setVisible(true). String s2.add(b2).int s5.setActionCommand("Cancel").com"). b2. p.add(t6).myConnection().s2=t2.print(b).endsWith("@yahoo. boolean bh=s4. b2.s4.endsWith("@hotmail.add(p5).JLabel. b=m.getText().st.getText(). p. Page 55 . p. ".add(p8).p7.p3. Matcher m=p. } public static void main(String args[]) throws SQLException{} public void actionPerformed(ActionEvent e) { String str=e.getText().JLabel. b1.s3.add(p1). f. p. l2=new JLabel("Name : t6=new JTextField(20).endsWith("@gmail.add(p).RIGHT).add(p3). p.com").add(b1). p5.matches().getActionCommand(). boolean br=s4.p2.RIGHT). f. if(b && bt) { Connection con=database. boolean bt=(bb || by || bh|| br).JLabel.RIGHT).addActionListener(this).com"). p. { Pattern p=Pattern.add(p6). p2.setVisible(false). s4=t4.compile("[A-Za-z \t]{1.addActionListener(this). p. p3. f.}"). boolean by=s4.addActionListener(this). ".add(t3).JLabel. p7.

p6.prepareStatement("insert into account values(?.util.*.p2.po.p1.pstmt.t3. import java. "Warning !!". JOptionPane. public class edit implements ActionListener { JFrame f. st). new home().setString(2.bs.?.setVisible(true).setString(4. import java.*. t6. } }} Edit.*.printStackTrace(). import java. pstmt. t4.io.p3. int acc.int b) {name=n.setText(null). } catch (Exception e1) { e1.IOException. public edit(int a. } else { JOptionPane.awt. boolean bs4. "!!! Please insert suitable values.l6.ERROR_MESSAGE).p9.sql.i2. t2. ImageIcon i1.setText(null).l7.setText(null).JLabel l1. t4. s6).b2. pstmt.b3.i3.bs5.f=new JFrame("edit").ps2.t2.String n.setVisible(false).?.setText(null).executeUpdate(). s3).ps.setString(3.showMessageDialog(null.l4.p8.bal.p5.l2. t3.setString(6. !!!". JPanel p. bal=b.ps1.setText(null).l3.setText(null).l9.} } else if(str=="Cancel") { t2. s4).bs6. f. l1=new JLabel("acc_no : "). t6. } else if(str=="Close") { f. } new home(). String name. pstmt.setText(null).t6. Page 56 .try { PreparedStatement pstmt=con. acc=a.?.?)").t5. s2).t4. t3.l5.pstmt.p7.JButton b1.p4.swing.setInt(7.setText(null).*.l8.java import javax. import java. JTextField t1. pstmt.

setEditable(false). ps2=new JPasswordField(10). b1.jpg").p2. p3=new JPanel().ps2.add(p). t5=new JTextField(10).t4. l9=new JLabel("Address : ").add(p1).setEditable(false).setText(null).add(l9).add(ps). p9.1)). t3=new JTextField(10).p4.add(l6).add(b1).add(t3).p. po.setActionCommand("Save").add(b2). ps=new JPasswordField(10). ps1=new JPasswordField(10).add(p8).add(t4). l7=new JLabel("contact no : "). add(po).t2.add(p6).p9.p1.p.add(l3). f. b1.} Page 57 .p.ps1.t1. t2=new JTextField(10). p8.p5. 500). p5. p2.setText(acc+"").t1.p.add(t1). f. t6=new JTextField(10).p6.p7.add(t2).setText(null).setText(bal+""). b3=new JButton(i3). l3=new JLabel("new password"). b2.add(l7). p1=new JPanel(). p. b2=new JButton(i2). po=new JPanel(). p4.add(p3).add(t5).setVisible(true).setActionCommand("Cancel").p. t4=new JTextField(10). p6.setActionCommand("Close").t3.add(b3).p8. p6=new JPanel().l2=new JLabel("password").po. b3. b1=new JButton(i1). p9=new JPanel().add(l2).add(ps1).p. b2. l5=new JLabel("name : ").setEditable(false).t4. p5=new JPanel().setText(null).p. t4=new JTextField(20).addActionListener(this). p4=new JPanel().add(l1).p.add(l5).ps.add(p5). p1.t3.add(l4). b3.add(l8).po.setSize(700. p8=new JPanel().add(p7).add(p2).addActionListener(this). p7=new JPanel().p3. i3=new ImageIcon("D:/Bank/I/close.p.add(ps2).l8=new JLabel("email : ").addActionListener(this). p7.add(p9). l6=new JLabel("balance : "). p=new JPanel(new GridLayout(10.setText(bal+""). f. p2=new JPanel(). l4=new JLabel("re-enter password"). i2=new ImageIcon("D:/Bank/I/cancel.jpg"). t1=new JTextField(10).setText(name).add(t6). p3. i1=new ImageIcon("D:/Bank/I/save.jpg").add(p4).

public void actionPerformed(ActionEvent e) { System.out.println("action"+e.getActionCommand()); String ss=e.getActionCommand(); System.out.print(ss); if(ss=="Save") { System.out.print(":1"); String s1,s2,s3,s4,s5,s6,s7,s8 = ""; s1=ps.getText(); System.out.print("get"+s1); s2=ps1.getText(); s3=ps2.getText(); s4=t4.getText(); s5=t5.getText(); s6=t6.getText(); s7=t2.getText();int cnt; Connection con=database.myConnection(); try { PreparedStatement pstmt; pstmt = con.prepareStatement("select password from info where acc_no=?"); pstmt.setInt(1,acc); ResultSet rs= pstmt.executeQuery(); while(rs.next()) {s8=rs.getString("password"); System.out.println("s8@@@"+s8); } if(s1.equals(s8)) {System.out.println("in If"); if(s2.equals(s3)) { cnt=Integer.parseInt(s4); System.out.println("account"+acc); PreparedStatement pst=con.prepareStatement("update info set name=?,password=?,email=?,contact=?,addr=? where acc_no=?"); pst.setString(1, s7); pst.setString(2,s2); pst.setString(3,s5); pst.setInt(4,cnt);
Page 58

pst.setString(5,s6); pst.setInt(6, acc); pst.executeUpdate(); JOptionPane.showMessageDialog(f, "!! New Information has been saved. !!" "!! Message !!", JOptionPane.INFORMATION_MESSAGE); new home(); f.setVisible(false); } else JOptionPane.showMessageDialog(f, "password doesnt match#############..." , "incorrect", JOptionPane.ERROR_MESSAGE);} Else JOptionPane.showMessageDialog(f, "password doesnt match@@@@@@@@@@@@@@22..." , "incorrect", JOptionPane.ERROR_MESSAGE);} catch (SQLException e1) {e1.printStackTrace();}} else if(ss=="Cancel") {ps.setText(null);ps1.setText(null);ps2.setText(null);t2.setText(null);t4.setText(null); t5.setText(null);t6.setText(null);} else if(ss=="Close") {try {f.setVisible(false); profile_acc p=new profile_acc(name);} catch (IOException e1) {e1.printStackTrace();}}}} Close.java import java.awt.*; import java.io.IOException; import java.sql.*; import javax.swing.*; public class close extends JFrame implements ActionListener{ JTextField t1,t2,t3; JFrame f1; JPanel p,p1,p2,p3,p4; JButton b1,b2; JLabel l1,l2,l3; ImageIcon i,i1; int acc,bal; String name; public close(int a,String n,int b)
Page 59

{ acc=a; name=n; bal=b; t1=new JTextField(20);t1.setText(acc+"");t1.setEditable(false); t2=new JTextField(20);t2.setText(name);t2.setEditable(false); t3=new JTextField(20);t3.setText(bal+"");t3.setEditable(false); l1=new JLabel("Account No. :",JLabel.RIGHT); l2=new JLabel("Name : ",JLabel.RIGHT); l3=new JLabel("Balance : ",JLabel.RIGHT); f1=new JFrame("!! Close Account !!"); p=new JPanel(new GridLayout(4,1));p1=new JPanel(new FlowLayout()); p2=new JPanel(new FlowLayout());p3=new JPanel(new FlowLayout()); p4=new JPanel(new FlowLayout());i=new ImageIcon("D:/Bank/I/delete.jpg"); i1=new ImageIcon("D:/Bank/I/cancel.jpg"); b1=new JButton(i); b2=new JButton(i1); f1.setBackground(Color.white); f1.setSize(400,250);p1.add(l1);p1.add(t1); p2.add(l2);p2.add(t2); p3.add(l3);p3.add(t3); p4.add(b1);p4.add(b2); p.add(p1);p.add(p2);p.add(p3);p.add(p4); f1.add(p); f1.setVisible(true); f1.setResizable(false); b1.setActionCommand("Delete"); b2.setActionCommand("Cancel"); b1.addActionListener(this); b2.addActionListener(this); System.out.print("Jagrit"); } public static void main(String args[]) {} public void actionPerformed(ActionEvent e) {String s=e.getActionCommand(); if(s=="Delete") {int x; x=Integer.parseInt(t1.getText()); Connection con=database.myConnection();try { PreparedStatement pstmt = con.prepareStatement("update info set status=? where acc_no=?"); pstmt.setInt(1, 0);pstmt.setInt(2, x);pstmt.executeUpdate();f1.setVisible(false); new home();}
Page 60

try { com.printStackTrace(). String user="root". } public static Connection myConnection() { String url="jdbc:mysql://localhost:3306/game".forName("com. Class. } Page 61 .mysql.Driver().jdbc.*.java import java.}} else if(s=="Cancel") {try {f1. user. try { c = DriverManager. profile_acc p=new profile_acc(name).jdbc. System. public class database { public static void main(String args[]) { myConnection().jdbc.getConnection(url. } catch (Exception e1) { e1.out. pass).printStackTrace().mysql.Driver d=new com. } Connection c = null.catch (SQLException e1) {e1.}}}} Database.sql.Driver").mysql.print("connection is :" +c).setVisible(false).printStackTrace().printStackTrace().} catch (Exception e) {e.} catch (IOException e1) {e1. String pass="root".

Then.return c. called Glass Box testing is a test case design method that uses the control structure of the procedural design to drive test cases. Statement of scope A description of the scope of the software testing is developed. A successful test is one that uncovers an as yet undiscovered error. Our Objective is to design test processes that systematically uncover different classes of errors and do so with minimum amount of time and effort. it shifts focus in an attempt to find errors in integrating clusters of modules and then in entire system. System Testing is very important issue in system development. As testing progresses. Most severe defects from the customer‟s point of view are those that cause a program to fail to meet its requirements. so that the software will be more reliable. The first test planned and executed generally focuses on individual modules. which means. the entire test can be planned before any code is generated. }} 2. A good test case is one that has a probability of finding an as yet undiscovered error. Detailed definition of test cases can begin as soon as the design is solidified. inputs supplied and I know the outputs produced by it in advance. The different programs in the system.4 Testing and Debugging “Testing is a process of executing a program with the intent of finding an error”.  Testing should begin “Small” and progress towards “Large”. Testing plan can begin as soon as requirement model completes. White Box Testing considers system to be like a White box. Following tests can carry out the testing of system:1. During system testing the system is used experimentally to ensure that the system does not fail and will run according to its specification producing desired outputs as per the user‟s expectations. procedures used. White Box Testing:White Box Testing.  Test case should be planned before testing begins. Many organization persons other than those who have written it performing testing. The basic principles that guide software testing are:  All test cases should be trace top customer requirements. Person who has developed it generally carries out White Box Page 62 . that everything about the system is known to me. All the features to be tested are noted as follows.

The end users or the ultimate user carries out Black Box testing for whom the system is made or someone who not knows how the system is being made. Black Box Testing: Black Box Testing focuses on the functional requirements of the software. It uncovers a different class of errors than white box testing methods. In the latter case the person performing debugging may suspect a cause. This process will always have one of the two outcomes:   The cause will be found. debugging is the process that results in identifying the location of error ad the removal of error. which are unknowingly entered by the user. Selecting some persons of the organizations who have to operate on the system can perform this testing so that they know what inputs to be given to the system for different options and what should the output generated by the system for those values. The validation and checks which are masked for certain inputs like Names. Maximum Size. Debugging Debugging occurs as a consequence of successful testing i. corrected and then removed or The cause will not be found. and then work towards the correction of errors in the interactive fashion. Values and other Special Fields and ranges is working or not for each and every entry forms. alpha numeric. Following three approaches of debugging were used:    Debugging by Induction Debugging by Deduction Backtracking Page 63 . Thus testing of the system by this method can even be done for absurd values. Numbers. design a test case to help validate his suspicion.testing and he/she tests the system against all odd conditions for extreme values. floating point numbers. I tested all the modules independently. when a test case uncovers an error. The poorly understood mental process that connects a symptom to cause is debugging.e. 2. Unique Fields.

: If the login information entered is correct. Actual Result Comment : The error message was displayed. enter the information in the sign up page. : Login information not matching with the information in the database was not allowed to enter the game center.e. the window was displayed i.1Test Cases Test case-1 Test Procedure Expected result : This test will check the 'Login page'. : Date : 05-12-2011 Page 64 . : The user will not be able to log in and a message will be displayed “Incorrect match”. Actual Result : After entering the information. the information was successfully inserted in to the database. Actual Result : After entering the correct user name and password . then only the user is allowed to login to the game center. enter the user name and password. Tester's Signature : Date: 05-12-2011 Test case-2 Test Procedure : This test will check the 'Sign Up Page'. then the login window will be displayed.4. : Date : 05-12-2011 : If user enters wrong user name and password.2. Tester's Signature Accuracy : Date: 05-12-2011 : The working is accurate and the functioning of the game center is proper and secure. Comment Tester's Signature Conditional Test Expected Result : Login information is checked from the database. Expected result : If the information entered is inserted in to the database. : To register. Comment Tester's Signature : Registration information is checked from the database. the user could login successfully. : To log in.

6) Game scores are not saved. 4) Only registered users can play the games. 5) Currently only two games are provided. These are listed here below: 1) The application does not provide online scoring system.3. 7) There is no facility for the name of the players. Limitations There still remain certain limitations in the Banking Application Project. 3) Online multiplayer option is not provided. 2) Graphically the project is just basic. Page 65 .

The Gaming Zones can use the project for providing maximum entertainment to their customers.4. Page 66 . Future of the Project    The project aims to produce an application that can be installed and run on a stand alone system. where a complete game pack can be designed which will have more number of different games.    Graphically the project can be improved to a very good extent. The project can be an inspiration for the development of games for entertainment purpose in the portable devices that support JAVA. It can gain a lot of popularity by introducing an online scoring/ranking system where the different users who are using the Game Center can check their ranks online which will be generated on the basis of their individual performance scores. this will increase the competition between the users and hence increase the popularity as more and more users will try to compete with each other. The project can be implemented in future for entertainment purpose.

Page 67 . • Security The games cannot be accessed without logging in. The user interface is quite easy to use i. A user-friendly interface with proper menus. porting the database to another Database server would require some development effort.e. As the database is made in mysql. it is user friendly and any common man can easily use the game center. Acceptance Criteria • • • • • The software should meet the functional requirement and perform the functionality effectively and efficiently. Data transfer should be accurate and within a reasonable amount of time keeping in mind the network traffic. The system should not allow entry of duplicate key values. Conclusion I conclude that the outcome of this effort holds possession of the attributes specified below: • Usability Validations are provided in each field to avoid inconsistent or invalid entry in the databases.It would be Portable to other operating system provided. • Portability The application is developed in JAVA .5. • Maintainability The installation and operation manual of city search portal will be provided to the user. System should have the ability to generate transactional Locks to avoid any accidental loss of data. • Availability System will be available round the clock except for the time required for backup of data.

Since now a days. Various private gaming firms provide their customers with facilities like updation and online transactions that enable customers to manage their accounts with the gaming firm even froom remote and distant areas where the gaming firm does not hold a branch. customers expect more. Page 68 . This idea could help to reduce time consumed in making transactions and conducting general account affairs with the gaming zone. the application is developed with an user friendly interface and simple functionality. the services provided to them should be upto the mark and support latest technology and safety measures prevailling in the market.6. To make entertainment easy and hassle free. buying a special membership to increase their score etc. The fact that inspired to select this as the project was my generous concern for various popular classic games that are in frequent use and also the slimy and slow services offered in the gaming zones. Recommendation An Application developed on the JAVA platform has easy installability on almost all machines available in the market. By using this facility the customer can buy various goodies related to the games such updating their character.

Bibliography and References Books:        Effective Java (2nd Edition) by Joshua Bloch Java Concurrency in Practice by Brian Goetz. David Holmes and Doug Lea Head First Java (2nd Edition) by Kathy Sierra.com/artifacts/dataFlowDiagram. Tim Peierls. Bert Bates JavaTM Puzzlers by Joshua Bloch .htm for development and study of Data Flow Diagram.7. http://way2resources.com/pub/a/onjava/2004/02/18/desktop.sun.html to incorporate the GUI Toolkits offered by Java and also taking maximum advantage of Cross Platform Support it offers.com/developer/technicalArticles/J2SE/Desktop/new_tech/ to study Application Development using the latest platform version avalable to develop a Desktop Application  http://onjava.html to study detailed and thorough application of System Analysis on the Project. http://java.blogspot.scribd. Joshua Bloch. Joseph Bowbeer.com/2011/06/system-analysis. Page 69 . http://www.agilemodeling.com/doc/41997140/SWDLC-Complete to study the various types of models alongwith their phases. Neal Gafter Thinking in Java by Bruce Eckel A Programmer’s Guide to Java™ SCJP Certification (3rd Edition) by Khalid Mughal Java™ 2:The Complete Reference(5th Edition) by Herbert Schildt Websites:     http://www.

Sign up to vote on this title
UsefulNot useful