Skip to content

team Scrummy Tanker, will be recreating the Atari classic, Combat. Two tanks staged against each other in a complex battlefield. Using Python and Pygame

License

Notifications You must be signed in to change notification settings

Carssorole/Tank-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

140 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tank Game

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.

Package Requirements

  • PyGame
  • PyTMX

How to Play

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

Objective

The objective of the game is to outmaneuver your opponent and score points by eliminating them using your tank's firepower.

Features

  • 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.

Installation

  1. Ensure you have Python installed on your system.
  2. Install pytmx using pip as it's a dependancy:
    pip install pytmx
    
  3. Install the Pygame library using pip:
    pip install pygame
    
  4. Clone or download the repository containing the game files.

Running the Game

  1. Navigate to the directory where the game files are located. (Tank-Game/Code/Tank Game)
  2. Run the following command in your terminal:
    python Main.py
    
  3. Enjoy playing the Tank Game!

About

team Scrummy Tanker, will be recreating the Atari classic, Combat. Two tanks staged against each other in a complex battlefield. Using Python and Pygame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages