Skip to content

An amusing game for both macOS & Windows systems, inspired by a game with the same name.

License

Notifications You must be signed in to change notification settings

anuneetanand/PvZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
Feb 26, 2021
Feb 26, 2021
Jul 5, 2020
May 15, 2021

Repository files navigation

Plants Vs. Zombies

An amusing game for both macOS & Windows systems, inspired by a mobile game with the same name. The game was developed on Java platform and the GUI was designed using JavaFX.

PvZ-1

Folder Structure

β”œβ”€β”€ docs
β”‚   β”œβ”€β”€ UML.pdf
β”‚   └── UseCase.pdf
β”œβ”€β”€ src
β”‚   └── sample
β”‚       β”œβ”€β”€ Resources
β”‚       β”œβ”€β”€ Barrier.java
β”‚       β”œβ”€β”€ Bomb.java
β”‚       β”œβ”€β”€ Character.java
β”‚       β”œβ”€β”€ Click.java
β”‚       β”œβ”€β”€ Game.fxml
β”‚       β”œβ”€β”€ GameController.java
β”‚       β”œβ”€β”€ GameHelper.java
β”‚       β”œβ”€β”€ GameOver.fxml
β”‚       β”œβ”€β”€ GameOverController.java
β”‚       β”œβ”€β”€ GameOverException.java
β”‚       β”œβ”€β”€ Help.fxml
β”‚       β”œβ”€β”€ HelpController.java
β”‚       β”œβ”€β”€ LawnMower.java
β”‚       β”œβ”€β”€ LeaderBoard.fxml
β”‚       β”œβ”€β”€ LeaderBoardController.java
β”‚       β”œβ”€β”€ LevelMenu.fxml
β”‚       β”œβ”€β”€ LevelMenuController.java
β”‚       β”œβ”€β”€ LoadGame.fxml
β”‚       β”œβ”€β”€ LoadGameController.java
β”‚       β”œβ”€β”€ Main.java
β”‚       β”œβ”€β”€ MainMenu.fxml
β”‚       β”œβ”€β”€ MainMenuController.java
β”‚       β”œβ”€β”€ NLController.java
β”‚       β”œβ”€β”€ NextLevel.fxml
β”‚       β”œβ”€β”€ PauseMenu.fxml
β”‚       β”œβ”€β”€ PauseMenuController.java
β”‚       β”œβ”€β”€ Plant.java
β”‚       β”œβ”€β”€ Projectile.java
β”‚       β”œβ”€β”€ Shooter.java
β”‚       β”œβ”€β”€ SunToken.java
β”‚       β”œβ”€β”€ SunTokenGenerator.java
β”‚       β”œβ”€β”€ WinController.java
β”‚       β”œβ”€β”€ Won.fxml
β”‚       β”œβ”€β”€ Zombie.java
β”‚       └── pair.java
β”œβ”€β”€ LICENSE
└── README.md

Build Project πŸ”§

  • Clone the reposirtory.
  • Build the project as JavaFX app with required dependancies into a JAR file.
  • Execute the JAR file.

Dependancies βš™οΈ

  • Java 11.0.2
  • JavaFX 11
  • Minimum Screen Resolution : 1280x720

Features ⭐

  • Multiple levels offering various levels of difficulty.
  • Ability to pause and resume the game.
  • User data is saved and high scores are shown on Leaderboard.
  • Background music, sound effects and fluid animations.
  • Tutorial

Collaborator

Naman Tyagi

About

An amusing game for both macOS & Windows systems, inspired by a game with the same name.

Topics

Resources

License

Stars

Watchers

Forks

Languages