Team Scrummy Tanker will be recreating the Atari classic, Combat. Two tanks staged against each other in a complex battlefield maze of death till the last tank standing.
This game will be programmed in Python using the common pygame import.
- PyGame
- PyTMX
Controls for Player 1 (Blue Tank):
- W: Move Up Screen
- S: Move Down Screen
- A: Move Left
- D: Move Right
- V: Fire Cannon
Controls for Player 2 (Red Tank):
- UP Arrow: Move Up Screen
- DOWN Arrow: Move Down Screen
- LEFT Arrow: Move Left
- RIGHT Arrow: Move Right
- M: Fire Cannon
The objective of the game is to outmaneuver your opponent and score points by eliminating them using your tank's firepower.
- Two-player local gameplay.
- Tank movement and rotation controls.
- Firing mechanism to engage opponents.
- Scoring system displayed on the scoreboard.
- Background music that adds to the gaming experience.
- Ensure you have Python installed on your system.
- Install pytmx using pip as it's a dependancy:
pip install pytmx - Install the Pygame library using pip:
pip install pygame - Clone or download the repository containing the game files.
- Navigate to the directory where the game files are located. (Tank-Game/Code/Tank Game)
- Run the following command in your terminal:
python Main.py - Enjoy playing the Tank Game!