• Monster Game


     Monster Game

    Using JavaScript


    Description

    A Basic game based on vanilla JavaScript. consist of two progress bars or health bars so to say one of monster’s and one of player’s. The health bars limit can be specified by the player at the start of the game as a prompt pops up in which the player can specify the health of both the characters i.e the player itself and the monster both will have the same health as specified. The player has extra health and can only be used one time the entire game. You have no control over using it and executes itself just before the player is about to die.

     The player can ATTACK, STRONG ATTACK and HEAL. 

    By clicking on ATTACK the player attacks the monster and the monster attacks back at the player but the attack of monster will be bit powerful then the player's attack and hence both of their health will decrease.

    By clicking on STRONG ATTACK both of their health will decrease but the health will decrease a bit more than the normal attack.

    By clicking on HEAL player can recover its health by some defined percent. If the health is more than the defined percentage it won’t heal and you'll get an alert.

    And by clicking on SHOW LOG some details on console prints regarding your current game.


    Check out the monster game.

    Here's the link

  • 1 comment:

    Check out my blog

    This is my Blog where I post content about programming. Feel free to check it out

    Search This Blog

    Powered by Blogger.

    Blog Archive

    About Me

    My photo
    Hello, I'm saad shaikh. I love to code, drink coffee and to workout. A web developer.
    ADDRESS

    Thane, Maharastra, India

    EMAIL

    shksaad911@gmail.com