Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN690. + Team Members Sno.NameITU ID 1Keerthi Alimity87421 2Venkata Ganugapati87755 3Sujitha Sanku87411 4Bavi Bharathan87550."— Presentation transcript:

1 + TIC-TAC-TOE GAME CAPSTONE PROJECT SEN690

2 + Team Members Sno.NameITU ID 1Keerthi Alimity87421 2Venkata Ganugapati87755 3Sujitha Sanku87411 4Bavi Bharathan87550 Under the guidance of Professor : Hann So

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

4 + 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.

5 + 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.

6 + 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.

7 + 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.

8 + 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.

9 + 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.

10 + 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.

11 + UML Diagrams Class Diagram Usecase diagram Sequence Diagram Activity Diagram

12 + Class Diagram

13 + UseCase Diagram

14 +

15 +

16 +

17 +

18 +

19 + Sequence Diagram

20 + 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.

21 + Activity Diagram

22 + 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.

23 + 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.

24 + 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.

25 + 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.

26 +


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

Similar presentations


Ads by Google