39 users online (0 members and 39 guests)  


  Results 1 to 3 of 3
  1. #1
    tiagosilva29's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    4

    Angry To hang or to be hung!

    Specifications of the rules of the game:

    This “hangman game” consists in trying to build words, involving 2 opponents that play, by turns, a letter at a time.
    The game will develop through several words, each one worth 1 point for who wins the challenge (see bellow). Each new word is activated by turns, by each player.
    It loses a point the player that is unable to finish the word, if the word exists.
    If the word doesn’t exist the player that putted the last letter loses 1 point. Also loses 1 point the player that finishes the word, so it is in the best interest of each player to find alternatives of continuation that do not make a word.
    For each time someone loses 1 point, a gibbet is built and hangs a pseudo-hang man.
    At the end of 10 points, the player loses and the last hangman picture is shown.

    Functionalities:

    It is imperative that the program implement the following functionalities:

    1- The words accepted are part of a list that the computer knows and validates;

    2- For test purposes it will be given a list of words based on a common concept or theme, which we must put in the game in the most adequate way;

    3- It should be allowed, through an option available in the web page, to select the following game-types:
    a) Human vs Human
    b) Human vs Computer
    c) The computer against himself;

    4- It should be possible to resign, when it’s unable to continue; if the other player can finish the word, he wins, else loses (if he also resigns, in the consequences of the first resign); all the words are checked against the list known by the computer and only will be accepted the ones that are there;

    5- It should be possible to quit the game, a situation in which the both players lose (they get hanged);

    6- It should be possible to reboot the game at any instant, and then all the players will naturally have 0 points, then, we could choose our next opponent (computer or human).

    Guess what, teacher...?!

    I never programmed before!

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi,

    Do you have any questions?
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    tiagosilva29's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    4

    Exclamation Yeah, by the way...

    Could you create a code to ban javascript from this world, making it a living hell?



Tags for this Thread