1 / 6

Android Hangman

By: Sheldon Ooi Priyanka Wagh. Android Hangman. Continue game. Read about game. Start new game. Exit game. Use hint. Input letter onscreen. Use solution. Input letter keypad. Use Case Diagram. Hangman App. User. CRC Card. Class: Hangman. Responsibilities :

dong
Télécharger la présentation

Android Hangman

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. By: Sheldon Ooi Priyanka Wagh Android Hangman

  2. Continue game Read about game Start new game Exit game Use hint Input letter onscreen Use solution Input letter keypad Use Case Diagram Hangman App User

  3. CRC Card Class: Hangman Responsibilities: • Setting up the initial GUI • Setting up the difficulty levels • Setting up the words for the difficulty levels • Exit the game • Outputting word when user gives up • Saving the game • Initiating the game • Running the game • Validating the input characters • Showing the result of the validation • Miscellaneous options • Setting up music • Setting up the 'about' text • Collaborators: • Priyanka • Sheldon

  4. Hangman Brief • This Android app is a game made to simulate the classical game of Hangman; in which there will be a 'questioner' who will present the player with a word whose letters are blanked out, and the player will then have to guess what the word is correctly. A wrong guess would result in the player's avatar in the game, a stick figure, getting closer and closer to be 'hanged'. Hence, the eponymous name of the game. • In this Android version, the app takes on the role of the 'questioner', with the player (or the user) allowed to choose the difficulty he (or she) wishes. The app assumes that longer words are more difficult, thus, the higher the difficulty, the longer the word given towards the player. The rest of the game just follows the pen-and-paper version. • Unlike the pen-and-paper version however, this Android Hangman lacks the ability to come up with new words, and thus is somewhat limited in the sense that the words 'questioned' are all hard-coded into the app itself.

  5. Lessons Learned / Significance / Coolness / Uniqueness • The original draw of this idea was to somehow implement the Hangman game with the ability to generate words on its own; we eventually found out that such an algorithm would probably be quite costly and difficult to implement. However, this being the first Android app we develop, we hope that our subsequent ones would rely less on hard-coded data. • While not uniquely significant on its own, this is our first venture into the realm of Android apps, so it was an interesting and educational journey into XML-style documents, as well as a refresher course of sorts in Java (having spent most of the semester coding in C).

  6. Sources and References • http://downloads.khinsider.com/game-soundtracks/album/heroes-of-might-magic-3/ • For the music. • http://javascript.about.com/library/blhang3.htm • For the hangman images. • http://kronox.org/documentacion/Hello.Android.new.pdf • As an excellent source of reference.

More Related