This project is an implementation of Plants vs. Zombies written in Java using swing and graphics 2D. Plants vs. Zombies is a tower defense video game, the player takes the role of a homeowner amid a zombie apocalypse. As a horde of zombies approaches along several parallel lanes, the player must defend the home by putting down plants, which fire projectiles at the zombies or otherwise detrimentally affect them. The player collects a currency called sun to buy plants. If a zombie happens to make it to the house on any lane, the player must play through the level again.
This game contains 2 maps, one of them is light mode and another one is dark mode which represent day and night.
- Day
- Night
In this game, there are three different types of zombies:
Each plant has its specific card, which shows the needed score for having it.
- SunFlower
The game includes two types of menus:
- Main Menu which gives users the ability to start a new game, load a saved game, view rankings, modify settings or quit.
Multiple users (clients) can start a game and play simultaneously by connecting to a server. Their game information including scores and mode will be saved to be displayed on a scoreboard later on.
Packages: src
Design Tool Kit and Musics: PVS Design Kit