Skip to content
Tank capture the flag game.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
windows-exe
B_d.jpg
B_f.jpg
B_l.jpg
B_r.jpg
B_u.jpg
G_d.jpg
G_f.jpg
G_l.jpg
G_r.jpg
G_u.jpg
README.md
R_d.jpg
R_l.jpg
R_r.jpg
R_u.jpg
Y_d.jpg
Y_l.jpg
Y_r.jpg
Y_u.jpg
screenshot.jpg
tanks.py
tanks4.py

README.md

Alt text

Setup

  • unzip folder into desired location, this path will hence be called directory

Linux

  • "cd directory"
  • "python tanks.py"

Note: must have python and pygame installed

Windows

  • "cd directory"
  • "cd windows-exe"
  • "tanks.exe"

Controls

  • 'f' fullscreen
  • 'Esc' exit fullscreen and quit game
  • Control key sets
    • Arrow keys
    • 'w,a,s,d'
    • 'o,k,l,;'
    • 'y,g,h,j'
  • Up moves forward
  • Left and right rotates tank
  • Down Shoots

Objective is to bring opponents flag to your own

Something went wrong with that request. Please try again.