Code Monkey home page Code Monkey logo

monsterslayergame's Introduction

Monster Slayer Game

Table of contents:

About

It's a simple interactive game built using VeuJS. It covers all core concepts in VueJS like (Data Binding, Event Binding, Computed Properties, Watchers, Dynamic Styling, Rendering Content Conditionally, Rendering List of Data, ...etc).

Game Description

  • The game starts with a player and a monster, each of them has a 100% health.
  • There are 4 buttons for the player to use:
    • Attack: The player attacks the monster and then the monster attacks him back with more power (When one of them is attacked, his health is reduced).
    • Special Attack: Same as Attack but with power more than the monster's power and because of this, this button can be used once each 3 rounds.
    • Heal: The player can heal humself but the monster will attack him back again.
    • Surrender: The player gives up and the monster will be the winner.
  • There are 3 possible results for the game:
    • You win! (When the monster's health becomes 0).
    • You lost! (When the player's health becomes 0).
    • It's a draw! (When the both's health becomes 0).
  • When The game is finished, the control buttons are hidden and a new button is provided to start a new game.
  • There is a Battle Log to show the steps through the game.

ScreenShots

Game starts:

Special Attack unenabled:

Game results:

Battle Log:

monsterslayergame's People

Contributors

hoda233 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tcgm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.