+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN690. + Team Members Sno.NameITU ID 1Keerthi Alimity87421 2Venkata Ganugapati87755 3Sujitha Sanku87411 4Bavi Bharathan87550.

Slides:



Advertisements
Similar presentations
Introduction to Java 2 Programming
Advertisements

Windows Basics An Introduction to the Windows Operating System.
Microsoft Office 2007-Illustrated Introductory, Windows Vista Edition Windows XP Unit A.
Graphical User Interfaces (Part IV)
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Mini Project Seminar on Pizza Ordering Application for Android
Lecture 1: Overview of Computers & Programming
Introduction to Programming Using simple games to convey introductory concepts MERLOT International Conference 2004 Tracey Jensen Assistant Professor,
Creating an OOED Application
Unit 251 Summary  Requirements may be represented in itemized format or in visual modeling (UML). Once the complete set of requirements are in our hand,
PLANNING THE TIC TAC TOE GAME BY NEEL DAVE. TIC TAC TOE INSTRUCTIONS Tic Tac Toe Instructions The basic concept of Tic Tac Toe 1.This is a game for two.
Presented by : Ashin Ara Bithi Roll : 09 Iffat Ara Roll : 22 12th Batch Department of Computer Science & Engineering University of Dhaka.
1 CS 106, Winter 2009 Class 4, Section 4 Slides by: Dr. Cynthia A. Brown, Instructor section 4: Dr. Herbert G. Mayer,
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Object-Oriented Analysis and Design
Software engineering Olli Alm Lecture 2: requirements, modelling & representation.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
1 Introduction to Human Computer Interaction  Livecode Overview  Based on Livecode User Guide from RunRev Ltd. (2010) 
Software Development. Chapter 3 – Your first Windows 8 app.
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
Introduction to Java Swing “We are the sultans of swing” – Mark Knopfler.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Java Programming Chapter 10 Graphical User Interfaces.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
14 Chapter 11: Designing the User Interface. 14 Systems Analysis and Design in a Changing World, 3rd Edition 2 Identifying and Classifying Inputs and.
Alice in Action with Java Chapter 7 From Alice to Java.
Welcome to CIS 083 ! Events CIS 068.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
Intro to GUIs (Graphical User Interfaces) Section 2.5Intro. to GUIs: a GUI Greeter Section 3.7Graphical/Internet Java: Einstein's Equation.
CSC 213 – Large Scale Programming Lecture 3: Object-Oriented Analysis.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Productivity Programs Common Features and Commands.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Patterns and Reuse. Patterns Reuse of Analysis and Design.
Selected Topics in Software Engineering - Distributed Software Development.
Copyright © Curt Hill First Window Builder Program Easy GUIs in Eclipse.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Graphics and Event-Driven Programming in Java John C. Ramirez Department of Computer Science University of Pittsburgh.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Graphical User Interfaces (Part 2) 1. View  view  presents the user with a sensory (visual, audio, haptic) representation of the model state  a user.
Java Applets: GUI Components, Events, Etc. Ralph Westfall June, 2010.
CHAPTER:07 JAVA IDE PROGRAMMING-II Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 – Graphical User Interfaces Java Foundations: Introduction to Programming.
Lesson 1 - Understanding the Word Window and Creating a New Document
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Chapter 14: Introduction to Swing Components. Objectives Understand Swing components Use the JFrame class Use the JLabel class Use a layout manager Extend.
Lecture # 6 Graphical User Interface(GUI). Introduction A graphical user interface (GUI) presents a user- friendly mechanism for interacting with an application.
View  view  presents the user with a sensory (visual, audio, haptic) representation of the model state  a user interface element (the user interface.
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Java Programming Fifth Edition Chapter 13 Introduction to Swing Components.
LOGO Supervisor: Mr.Huỳnh Anh Dũng Students: Nguyễn Công Tuyến Nguyễn Cảnh Phương Phạm Thị Hằng Bùi Thị Huệ Trần Đức Bình Nguyễn.
Identify internal hardware devices (e. g
A First Look at GUI Applications
An Introduction to Computers and Visual Basic
Section 64 – Manipulating Data Using Methods – Java Swing
Java programming lecture one
An Introduction to Computers and Visual Basic
Chapter 1 Introduction(1.1)
An Introduction to Computers and Visual Basic
Constructors, GUI’s(Using Swing) and ActionListner
Korea Software HRD Center
Computer Programming-1 CSC 111
An Introduction to the Windows Operating System
Presentation transcript:

+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN690

+ Team Members Sno.NameITU ID 1Keerthi Alimity Venkata Ganugapati Sujitha Sanku Bavi Bharathan87550 Under the guidance of Professor : Hann So

+ Objective The objective is to write a fun game with an opponent in such a way that the computer wins most of the time.

+ Introduction Tic Tac Toe is a computer based game for two players O and X. They take turns marking the spaces in the 3 x 3 grid. The player who succeeds in placing three successive marks either in horizontal, diagonal or vertical wins the game.

+ Proposed System The game is played between two players each of whom select their respective symbols to mark. Player one starts the game by placing his symbol in any of the nine squares. Player two marks the turn by placing his or her symbol in the empty square. Both players make their turns alternatively. The player who gets three respective symbols either in horizontal vertical or diagonal wins the game.

+ System Requirements Hardware Requirements: System: Intel Dual Core Hard Disk: 40 GB RAM: 2 GB I/O devices: Standard Monitor, Keyboard & Mouse Software Requirements: Operating System: Windows 7 or 8 Software Tools: JDK 1.7, Eclipse.

+ Software Tools Eclipse: Eclipse is a Java based open source platform that allows a software developer to create a customized development environment (IDE) from plug-in components built by Eclipse members. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming Languages through the use of plugins, including: C,C++,Python, Perl etc. A Java Development Kit (JDK) is a program development environment for writing Java applets and applications. It consists of a runtime environment that "sits on top" of the operating system layer as well as the tools and programming that developers need to compile, debug, and run applets and applications written in the Java language.

+ Functional Requirements Platform Independence – The program will use java and is platform independent. Start,exit and minimize the application – The user invokes the application from the OS with the aid of JVM.If the user exit from file menu the program terminates.If the user minimize,the window will be minimized.

+ Non Functional Requirements Performance – The game performs well without any lag. It calculate the efficiency based on the code and give the output. Usability – The game is easy even for new players. Amateur gamers will easily understand how to navigate through the interface built. Reliability – The application is developed in java and is hence robust. Supportability - The application can be deployed in any operating system as java is platform independent.

+ System Architecture The system is based on windows architecture and make use of abstract windows tool kit.Some java swings are as follows: JButton: The class JButton is an implementation of a push button. This component has a label and generates an event when pressed. It can have Image also JDialog create Dialog (Component parent Component, String title): Creates and returns a new JDialog wrapping this centered on the parent Component in the parent Component’s frame. JFrame: The class JFrame is an extended version of java.awt.Frame that adds support for the JFC/Swing component architecture. JOptionPane: The class JOptionPane is a component, which provides standard methods to pop up a standard dialog box for a value, or informs user of something. JTextField: The class JTextField is a component, which allows the editing of a single line of text.

+ UML Diagrams Class Diagram Usecase diagram Sequence Diagram Activity Diagram

+ Class Diagram

+ UseCase Diagram

+

+

+

+

+

+ Sequence Diagram

+ Explanation with Sequence Diagram: From the sequence diagram it is explained the sequences that are built with the game from the point the application is started to the point the action is performed The flow is explained as:  The sequence starts as the application starts  Game starts  Button or key pressed  Action takes place  Subsequent actions are performed  Results in win/tie amongst the Players, then the output is displayed.

+ Activity Diagram

+ Activity Diagram explanation with the application: Activity Diagram in general explains the activity performed with the application. In reference to our application I see that the following steps of activity are performed:  Starts the game and check for player 1 as ‘O’ and player 2 as ‘X’  Player O takes the first move and hence player X makes the move later.  Depending on the activity by the players, a situation for the winner is checked and hence the result is displayed.

+ Risk Management A large number of combinations, (28*1 = 256) of moves can be made by the two players. There is a risk that a few of these combinations will be repeated because they are the "natural" sequences. Many combinations may not be tested. This risk can be mitigated by writing down all the combinations and using a specific one in each test.

+ Test Plan A test plan documents the strategy that will be used to verify and ensure that a product or system meets its design specifications and requirements. The below is the test plan that provides details of the Testing Strategy and the approach.

+ StrategyApproach Description of functionalityAt the system level, the functionality is an electronic version of the Tic-tac-toe game. Each class provides a specified functionality that is described in its documentation. Arguments for testsMouse clicks Expected outputIt is expected that the appropriate symbol will appear in the selected slot on both Game Boards. When the game completes in either the win/lost or tied states the appropriate message is printed on the Game Board.

+