Welcome to Zombie Rampage, a thrilling top-down shooter game built in Java. Engage in an adrenaline-pumping battle against hordes of relentless zombies in this post-apocalyptic world.
In this game, you play as a survivor fighting against waves of zombies. The objective is to stay alive for as long as possible while eliminating as many zombies as you can. The game features a top-down perspective, where you can move freely in all directions and shoot in any direction to take down zombies.
The zombies will approach you relentlessly, and if they get too close, they will attack. You have a limited amount of health, so be careful! You can also find various power-ups throughout the game to help you in your survival.
- W, A, S, D: Move the character in the corresponding direction.
- R: Reload the current weapon.
- 1, 2, 3, 4, 5: Change weapon.
- E: Open inventory.
- Mouse movement: Aim the player's current weapon.
- Left mouse button: Use the current weapon.
- Right mouse button (M16 only): Switch fire selector type.
-
Ensure you have Java Development Kit (JDK) version 15 or higher installed.
-
Clone the repository.
git clone https://github.com/danielrzhang/zombie-rampage.git -
Navigate to the project directory's source file folder.
cd zombie-rampage/src -
Compile the Java source files.
javac $(find . -name '*.java') -
Run the project.
java main/Main
Swift and silent, the trusty KA-BAR is perfect for close-quarters combat. Sneak up on unsuspecting zombies and deliver swift, lethal strikes to eliminate them without attracting attention.
A reliable sidearm that offers a balance of accuracy and firepower. Use it to dispatch zombies from a distance or as a backup when ammunition for heavier weapons runs low.
When the undead close in, the Remington 870 shotgun becomes your best friend. Its wide spread and high impact make it ideal for clearing out groups of zombies in one powerful blast.
The M16 assault rifle is a versatile weapon that excels in medium-range combat. With its semi-automatic and fully automatic capabilities, it provides precision and rapid firepower to thin out the zombie hordes.
Set up traps and fortify your position with placeable landmines. Strategically plant them to surprise and eliminate approaching zombies, creating a temporary barrier of explosive protection.
Zombie Rampage is licensed under the MIT License.











