# MiniPZ **Repository Path**: frsf/MiniPZ ## Basic Information - **Project Name**: MiniPZ - **Description**: 植物大战僵尸 Plants V.S. Zombies JavaSwing版 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 2 - **Created**: 2022-09-06 - **Last Updated**: 2025-08-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MiniPZ #### 介绍 植物大战僵尸, Plants V.S. Zombies JavaSwing版,一个Demo。V2版本Demo进行了代码优化,并新增了项目说明:https://gitee.com/frsf/MiniPZ-V2 #### 软件架构 1. 历时8天,只完成了基本的抽象以及元素 2. 基于JavaSwing的游戏界面 3. Maven项目,Jdk11 #### 安装教程 1. 每个包对应一个抽象父类,以及一个Start类,Start类里保存了对应子元素的集合 2. Start类添加在GamePanel中,为public static final 3. 利用GamePanel中添加的Start可以方便的调用各个元素成员 #### 游戏界面 1. 主界面 [![](src/main/resources/readme/home.png)]() 2. 游戏中 ![](src/main/resources/readme/game.png)