Unformatted text preview:

1 Introduction1.1 Document Overview1.2 Purpose1.3 Design Goals1.4 Scope2 Design Considerations2.1 General Constraints2.2 Development Method2.3 Design Methodology3 Architecture3.1 Overview3.2 Design Patterns Used3.2.1 Abstract Factory Pattern3.2.2 Singleton PatternThe ChessCom, Interface and GameMaster Objects are examples of a Singleton design pattern. Each is instantiated once and only once in the 3Dchess class when the program is opened. They can be accessed freely throughout the program by each other as well as by other objects.3.2.3 Wrapper Pattern3.3 Class Diagrams3.3.1 3DChess Class3.3.1.1 Description3.3.1.2 3DChess Attributes3.3.1.3 3DChess Methods3.3.2 ChessPiece Class3.3.2.1 Description3.3.2.2 ChessPiece Attributes3.3.2.3 ChessPiece Methods3.3.2.4 Rook/King Attributes3.3.2.5 Rook/King Methods3.3.2.6 Pawn Attributes3.3.2.7 Pawn Methods3.3.3 GameOptions Class3.3.3.1 Description3.3.3.2 GameOptions Attributes3.3.3.3 GameOptions Methods3.3.4 Board Class3.3.4.1 Description3.3.4.2 Board Attributes3.3.4.3 Board Methods3.3.5 GameMaster Class3.3.5.1 Description3.3.5.2 GameMaster Attributes3.3.5.3 GameMaster Methods3.3.6 Move Class3.3.6.1 Description3.3.6.2 Move Attributes3.3.6.3 Move Methods3.3.7 ChessCom Class3.3.7.1 Description3.3.7.2 ChessCom Attributes3.3.7.3 ChessCom Methods3.3.8 CCSocket Class3.3.8.1 Description3.3.8.2 CCSocket Attributes3.3.8.3 CCSocket Methods3.3.9 Clock Class3.3.9.1 Description3.3.9.2 Clock Attributes3.3.9.3 Clock Methods3.3.10 Player Class3.3.10.1 Description3.3.10.2 Player Attributes3.3.10.3 Player Methods3.3.11 GameLog Class3.3.11.1 Description3.3.11.2 GameLog Attributes3.3.11.3 GameLog Methods3.3.12 XMLParser Class3.3.12.1 Description3.3.12.2 XMLParser Attributes3.3.12.3 XMLParser Methods3.3.13 Interface Class3.3.13.1 Description3.3.13.2 Interface Attributes3.3.13.3 Interface Methods3.3.14 RenderRecord Class3.3.14.1 Description3.3.14.2 RenderRecord Attributes3.3.14.3 RenderRecord Methods3.3.15 ObjectCoordinates Class3.3.15.1 Description3.3.15.2 ObjectCoordinates Attributes3.3.15.3 ObjectCoordinates Methods3.3.16 WidgetManager Class3.3.16.1 Description3.3.16.2 WidgetManager Attributes3.3.16.3 WidgetManager Methods3.3.17 Widget Class3.3.17.1 Description3.3.17.2 Widget Attributes3.3.17.3 Widget Methods3.3.18 Button Class3.3.18.1 Description3.3.18.2 Button Methods3.3.19 IconButton Class3.3.19.1 Description3.3.19.2 IconButton Attributes3.3.19.3 IconButton Methods3.3.20 TextButton Class3.3.20.1 Description3.3.20.2 TextButton Attributes3.3.20.3 TextButton Methods3.3.21 OnScreenText Class3.3.21.1 Description3.3.21.2 OnScreenText Attributes3.3.21.3 OnScreenText Methods3.3.22 ScrollableTextBox Class3.3.22.1 Description3.3.22.2 ScrollableTextBox Attributes3.3.22.3 ScrollableTextBox Methods3.3.23 CheckBox Class3.3.23.1 Description3.3.23.2 CheckBox Attributes3.3.23.3 CheckBox Methods3.3.24 Vector3 Class3.3.24.1 Description3.3.24.2 Vector3 Attributes3.3.24.3 Vector3 Methods3.3.25 Camera Class3.3.25.1 Description3.3.25.2 Camera Attributes3.3.25.3 Camera Methods3.3.26 SoundManager Class3.3.26.1 Description3.3.26.2 SoundManager Attributes3.3.26.3 SoundManager Methods3.3.27 Square Class3.3.27.1 Description3.3.27.2 Square Attributes3.3.27.3 Square Methods3.3.28 InterfaceBoard Class3.3.28.1 Description3.3.28.2 InterfaceBoard Attributes3.3.28.3 InterfaceBoard Methods3.3.29 PieceModel Class3.3.29.1 Description3.3.29.2 PieceModel Attributes3.3.29.3 PieceModel Methods3.3.30 PieceManager Class3.3.30.1 Description3.3.30.2 PieceManager Attributes3.3.30.3 PieceManager Methods3.3.31 ModelData Class3.3.31.1 Description3.3.31.2 ModelData Attributes3.3.32 CommonDialog Class3.3.32.1 Description3.3.32.2 CommonDialog Attributes3.3.32.3 CommonDialog Methods3.3.33 CreateGame Class3.3.33.1 Description3.3.33.2 CreateGame Attributes3.3.33.3 CreateGame Methods3.3.34 InviteClient Class3.3.34.1 Description3.3.34.2 InviteClient Attributes3.3.34.3 InviteClient Methods3.3.35 Sound Class3.3.35.1 Description3.3.35.2 Sound Attributes3.3.35.3 Sound Methods3.3.36 Accept Class3.3.36.1 Description3.3.36.2 Accept Attributes3.3.36.3 Accept Methods3.3.37 About Class3.3.37.1 Description3.3.37.2 About Attributes3.3.37.3 About Methods4 Supplements4.1 Sequence Diagrams4.1.1 Establishing a Connection Between a Host and a Client4.1.2 Moving a Piece4.1.3 Verifying Checkmate4.1.4 Displaying all Interface Related Objects4.2 Use Case Diagram4.3 State Diagrams4.3.1 Game Play State Diagram4.3.2 User Interface State Diagram4.4 XML Sample3D Chess Design Documentation Version 2.006-Mar-2005Design Document3D ChessVersion : 3.01Status : SubmittedDate : March 11, 20051 INTRODUCTION.................................................................................................................................31.1 DOCUMENT OVERVIEW..................................................................................................................31.2 PURPOSE........................................................................................................................................31.3 DESIGN GOALS..............................................................................................................................31.4 SCOPE.............................................................................................................................................32 DESIGN CONSIDERATIONS............................................................................................................32.1 GENERAL CONSTRAINTS................................................................................................................32.2 DEVELOPMENT METHOD...............................................................................................................32.3 DESIGN METHODOLOGY................................................................................................................33 ARCHITECTURE................................................................................................................................33.1 OVERVIEW......................................................................................................................................33.2 DESIGN PATTERNS USED...............................................................................................................33.2.1 Abstract Factory Pattern..........................................................................................................33.2.2 Singleton


View Full Document

DREXEL CS 452 - Design

Download Design
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Design and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Design 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?