Android Hangman - PowerPoint PPT Presentation

About This Presentation
Title:

Android Hangman

Description:

Android Hangman By: Sheldon Ooi Priyanka Wagh Use Case Diagram User Hangman App Continue game Start new game Read about game Exit game Use hint Input letter keypad ... – PowerPoint PPT presentation

Number of Views:170
Avg rating:3.0/5.0
Slides: 7
Provided by: Sheld4
Learn more at: https://cse.buffalo.edu
Category:

less

Transcript and Presenter's Notes

Title: Android Hangman


1
Android Hangman
  • By
  • Sheldon Ooi
  • Priyanka Wagh

2
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/al
    bum/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.
Write a Comment
User Comments (0)
About PowerShow.com