MIME-Version: 1.0 Content-Location: file:///C:/D845548D/UseCasesDiagram.htm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii" Here in this document are listed each of the individual use cases, t= heir diagram references, and their pre and post conditions

Here in this document are listed each of the individual use cases, their diagram references, and their pre and post conditions.

 

C1: Start<= /span>

Precondition:

Start Here.

Postcondition: <= /o:p>

The user invokes the application by entering a URL address into their HTML comp= atible browser.

 

C2: User Invokes Appl= ication

Precondition:

The user invokes the application by entering a URL address into their HTML compatible browser.

Postcondition:

"The Puzzler - 3D Style" Welcome and Configuration Screen has appeared in t= he user's client computer browser.

 

C3: User Configures P= uzzle

Precondition:

"The Puzzler - 3D Style" Welcome and Configuration screen has appeared.

Postcondition:

The user has set the size of the generated puzzle cube, the size of the generat= ed dictionary to use, the base dictionary, and the minimum size that each hidd= en word will be (not less than three), and has pressed the submit button.=

 

C4: User Reviews Configuration

Precondition:

The user has pressed the submit button on the conformation screen.

Postcondition:

The user has reviewed the configuration, and pressed either no to go back to the confirmation screen or yes to display the "Generating Puzzle" pag= e.

 

C5: RUN

Generating Puzzle Pag= e is Displayed:

Precondition:

The user has selected "yes" on the Configuration Confirmation screen.=

Postcondition:

      a) The "Generate Dictionary" use case is invoked from a pre-selected        =    "base dictionary" with help form a custom algorithm with red/black tree        =     data structure.

      b) The "Generate Puzzle" use case is invoked with help from a custom        =    algorithm with red/black tree data structure.

      c) The "Puzzle Interaction" Screen is Displayed

 

C6: Create Dictionary=

Precondition:

The system is still displaying the "Generating Puzzle" screen also concurrently attempting to execute the "System Generates Puzzle Cube&q= uot; use case.

Postcondition:

The system is still displaying the "Generating Puzzle" screen also concurrently still attempting to execute the "System Generates Puzzle Cube" use case.

 

C7: Create Puzzle

Precondition:

The system is still displaying the "Generating Puzzle" screen also concurrently attempting to execute the "System Generates Dictionary&qu= ot; use case.

Postcondition:

The system displays the puzzle interaction screen.

 

C8: Display User Inte= rface

Precondition:

= a)&n= bsp;    The system = has displayed the puzzle interaction screen.

= b)&n= bsp;   The generat= ed dictionary is displayed in the "Dictionary" list box.<= /span>

= c)&n= bsp;    The generat= ed puzzle is displayed in its text area control.

= d)&n= bsp;   The puzzle = has NOT been solved yet.

= e)&n= bsp;    The puzzle display control(s) are grayed out (not usable), and the "Solve Puzzle" button is enabled.

Postcondition:

The user clicks the "Solve Puzzle" button.

 

C9: Solve Puzzle=

Precondition:

The user has clicked the "Solve Puzzle" button.

Postcondition:

= a)&n= bsp;    The display control(s) are now enabled.

= b)&n= bsp;   The first cross-sectional 2D plane or "layer" of the puzzle is selected.

= c)&n= bsp;    The "W= ord that Matched" for the current selected cross-sectional "layer&quo= t; is displayed in the "Words that Matched" list box.

= d)&n= bsp;   System disp= lays the "Time Taken to Solve Puzzle" as well as the dictionary and pu= zzle generation results in "Time Taken" text area control.<= /span>

= e)&n= bsp;    System enab= les the "Show Statistics" button.

= f)&n= bsp;     The "Regenerate Puzzle?" button is enabled.

= g)&n= bsp;    The "Exit?" button is enabled.

 

C10: Select Different= Layer

Precondition:

= a)&n= bsp;    The post condition for "System Solves Puzzle" use case has completed successfully.

= b)&n= bsp;   User select= a different puzzle layer.

Postcondition:

The system displays the selected puzzle layer in the puzzle layer display area = and concurrently displays the words that matched for that puzzle layer in the "Word that Matched" list box.

 

C11: Collect Words Th= at Matched

Precondition:

The puzzle has been solved based on words in the dictionary that matched in the puzzle.

Postcondition:

The hidden words that were found are displayed in the "Words That Matched" list item control.

 

C12: Collect Statisti= cs

Precondition:

The postcondition for the "System Solved Puzzle" has completed successfully.

Postcondition:

= a)&n= bsp;    The timing statistics for generating the dictionary, timing statistics for generating = the puzzle, and the timing statistics are written to a log file as well as the configuration.

= b)&n= bsp;   The results= for the previous postcondition is displayed in the "Time Taken" text = area for everything.

 

C13: Create Database<= o:p>

Precondition:

= a)&n= bsp;    The diction= ary is created and needs to store the data.

= b)&n= bsp;   The puzzle = is created and needs to store the data.

= c)&n= bsp;    The "W= ords That Matched" are found and need to store their data.

= d)&n= bsp;   The "Collected Statistics" are found and need to store their data.

Postcondition:

The appropriate data operations are performed to complete the needed transactio= n.

 

C14: Help / Documenta= tion

Precondition:

The user selects the "Help / Documentation" Button.=

Postcondition:

The "Help / Documentation" page is displayed with a back button that shows:

= a)&n= bsp;    How to depl= oy and undeploy the wed application.

= b)&n= bsp;   The Glossar= y of Terms.

= c)&n= bsp;    More informa= tion on the underlying algorithms for the red-black tree and the "brute for= ce array indexing" for the puzzle.

 

C15: "Regenerate Puzzle?"

Precondition:

The " Regenerate Puzzle?" button is enabled and the user presses the " Regenerate Puzzle?" button.

Postcondition:

The "Welcome and Puzzle Configuration" screen is displayed.

 

C16: Exit?=

Precondition:

The "Exit?" button is pressed.

Postcondition:

The "Thanks for Visiting!" screen is displayed with no back button.

 

C17: End

Precondition:

The "Thanks for Visiting!" screen is displayed with no back button.

Postcondition:

Stop Here.