Giter VIP home page Giter VIP logo

plantsvszombies-game's Introduction

Introduction


Plants vs Zombies (https://en.wikipedia.org/wiki/Plants_vs._Zombies) is a tower-defense and strategy game which involves an army of zombies trying to enter the house and eat your brains. The only way you can stop them is by using your arsenal of plants that will zap the zombies at your command. The plants - Pea-shooters, Beetroots, Walnuts, and Sunflowers - are all set to destroy the zombies who dare to enter your backyard.

Guide


The playing field is divided into 5 horizontal lanes, a zombie will only move towards the player's house along one lane . Planting costs "sun" (sun acts as the currency for the game, required for buying plants), which can be gathered for free (albeit slowly) and also by planting the sunflower plant which generates a sun at regular intervals. Plants can only attack or defend against zombies in the lane they are planted in.

In our implementation we have provided the users with 4 plants:

  • PeaShooter - Peashooter is the first and the primary attacking plant the game. It is a peashooting plant that shoots peas on seeing a zombie. It costs 100 suns.
  • BeetRoot - The users have another attacking plant , the BeetRoot which shoots beets insteasd of peas which are faster and hence is priced a bit higher at 125 suns.
  • SunFlower - Sunflower is an essential sun-producing plant which is necessary for producing suns - the currency of the game. It costs 50 suns. Each sun produced from sunflower adds 25 units to your sun counter.
  • Walnut - Walnut is the defensive plant that acts as a shield for the player's plants. It takes a long time for zombies to eat it, providing an effective cover for the plants located behind it. It is mainly used to stall zombies to waste their time, letting other plants attack them.

In this mini-version we implemented only 2 zombies:

  • Normal Zombie - Normal zombies and their time-themed variants in Plants vs. Zombies 2 are the most basic "zombie" units. In fact, it takes four shots for a pea plant to kill them. Having no special defensive equipment or travel abilities, these zombies are susceptible to any type of attack.
  • Football Zombie - It's a tough zombie and it takes the PeaShooter 5 shots to kill it.

Developers


  • Rohan Goel (rohangoel96)
  • Pulkit Agarwal (thepulkitagarwal)

Download and play the game (13MB) : http://bit.ly/java-PvZ
Watch the demonstration video at : https://www.youtube.com/watch?v=ZqmCRmsnW9U

plantsvszombies-game's People

Contributors

rohangoel96 avatar thepulkitagarwal avatar

Watchers

 avatar  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.