

This is the main screen of the game that has options for Play, Controls, and Quit. Message_to_screen("before they destroy you.", wheat, 60) Message_to_screen("Shoot and destroy the enemy tank", wheat, 15) Message_to_screen("Welcome to Tank War!", introcolor, -100, size="large") We will need all variables throughout the program for fonts, time frames, colors, and declaring tanks. Here we are initializing variables for colors that are needed throughout the program and defining the geometry of the tank. Initializing variables for the overall program need You will see the window resulting from the above code. Here we have set the dimensions, icon image, and window title. Whoever will have the highest power wins. The user will fire to reduce the computer’s power and the computer will similarly try to reduce the user’s power. Tank game is a video game a user can play with the computer where both user and computer will have a tank and power and both will be firing over each other to reduce the power of the enemy tank. Also, we will be having options for pause and quit in between the game.

Upon quitting, the window will be destroyed.

