Code Monkey home page Code Monkey logo

plantsvszombies-3's Introduction

Plants Vs Zombies

Roll Playing Game written with functional JavaScript, 15 April 2020

By Jieun Kang, Kristina Hengster Tintor, Steph Podolak

Description

Setup/Installation Requirements

  1. Open Terminal and go to the Desktop directory ("cd desktop").
  2. Clone this repository to your local machine ("git clone PlantsVsZombies").
  3. Once the directory is clonded to your local machine, go to the root directory of this project ("cd PlantsVsZombies").
  4. Type ("npm install") to add the correct Node modules and download necessary dependencies to the project.
  5. Type ("npm run build") to create dist folder with bundle.js file using webpack.
  6. Open cloned directory in Visual Studio Code or preferred text editor ("code .").
  7. Open index.html in dist folder in a preferred browser to view the project. (Google Chrome is recommended)

Behavior Driven Development Specifications

Behavior(Spec) Input Output
Garden player starts game with garden start { sunflowers: 10, potatoes: 10, beanThrowers: 10}
Garden player chooses action to attact zombies: 1) Grow Sunflowers 2) Lay Potatoes 3) Throw Beans 3) Throw Beans { sunflowers: 10, potatoes: 10, beanThrowers: 9 }
{ zombies: 9, zombieAttack: false }
Garden player can grow their plants: 1) Add sunflower 2) Add potatoes 3) Add beanRhrower 1) Add sunflower { sunflowers: 11, potatoes: 10, beanThrowers: 9}
Zombie player starts game with zombies start { zombies: 10, zombieAttack: flase }
Zombie player chosses action to attack plants: 1) Sunflowers 2) Potatoes 3) Beans 1) Sunflower { sunflowers: 9, potatoes: 10, beanThrowers: 9}
{ zombies: 9, zombieAttack: true }
Zombie player can add their zombies Add zombie { zombies: 9, zombieAttack: true }

Technologies Used

  • Javascript
  • Node.js
  • webpack

License

This webpage is licensed under the MIT license

Copyright (c) 2020 Jieun Kang, Kristina Hengster Tintor, Steph Podolak

plantsvszombies-3's People

Contributors

derpy-jacob-903 avatar

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.