Page 209 - IT-802_class_12
P. 209

2.5.2 Case Studies

            Let us now discuss three case studies that make use of the project management steps of web-based application
            development.
            Word Power Game

            First, let’s define the online game’s problem statement. Here, we have designed the Hangman online game. In this
            straightforward guessing game, a player must guess the word, which may fall under a category like “movie” or “country.”
            Let’s develop this game.

            Problem Statement: This is a popular word game. In this game, a player chooses a category, such as a nation, a capital,
            an animal or bird, or a movie title. The player sees a certain number of blanks in the game. To fill in the blanks and get
            the right word, the player begins by speculating on the letter. This game provides the player with seven chances to guess.

            1.  Requirement Definition: The problem statement is identified.
              a.   Feasibility: The teacher wants the pupils to talk about the technical requirements for this project in groups.
                 Determine whether it can be implemented given the resources available in the school. On the basis of the
                 project’s viability, the next steps are taken.
              b.  Scope: The application must do the following:
                 i.  Ask the player to select a category.
                 ii.   According to the number of letters in the word, the game randomly chooses a word from that category and
                    shows the player the proper number of dashes and spaces to represent the phrase.
                 iii.  A guess is made by the player. It either hits (is successful) or misses (fails). In the event that it is successful,
                    the letter is correctly written in the dash. A maximum of seven guesses should be allowed by the program for
                    the user.
            2.  Design: The focus is on “how” the application is to be designed.
              a.   A Map of the Web Application Site: By recognising the pages on this website, the students are encouraged to
                 plan the structure of their sets. Determining the connections between these sites will be essential for website
                 design. For instance, the front-end interface page will contain links to other pages. This design structure will be
                 followed during implementation.
              b.   Database: The following tables will be created in the database, along with information on their properties, data
                 types, and column sizes:
                    Category

                    Words_in_Category

                                                         Table: Category
                       S.No.               Name                    Type                     Remarks
                         1.       Category_Id                   Varchar (10)      Unique id for each category
                         2.       Category_Name                 Varchar (20)      Name of the category


                                                    Table: Words_in_Category
                       S.No.               Name                    Type                     Remarks
                         1.        Category_Id                  Varchar (10)      Unique id for each category
                         2.        Word                         Varchar (15)      Word for the category







                                                                                Operating Web-Based Applications  207
   204   205   206   207   208   209   210   211   212   213   214