Working Directory: /TankGame/src/tankgame
IDE used: NetBeans
Java Version: 1.8.0_162
- Clone repository from Github
- This project was created from NetBeans, and should be able to be opened in NetBeans as a Project, so
- Open NetBeans
- Go to File -> Open Project...
- Nevigate to the download folder of the project
- Click on the downloaded project, click Open to open it
- Make sure the working directory is the same as what's above
- Next, you want to compile/build the game
- Go to Run -> Build Project(TankGame)
- NetBeans will now compile, build, and run the game if the latter two were successful
- When the game is over, close out of the window that was produced after building the project
- You've successfully loaded and built the project
- Both tanks will start off on their end of the map
- Player 1 will move using WASD and shoot using C
- Player 2 will move using IJKL and shoot using N
- The darker walls are breakable walls, they will break from one single bullet, and will respawn after a short time
- A heart power-up will spawn on the left side of the map, it will bring the tank's health back to full or do nothing if health is already full
- Each player has three lives and enough health to take 4 hits from the enemy
- Once one player wins, you will have to close out of the window and build the project again in order to start another game, this will be changed in the future...
- Remember to have fun!