Skip to content

hug58/Battle-Tanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

275ce5f · Apr 11, 2025
Dec 6, 2024
Jan 22, 2025
Apr 11, 2025
Apr 11, 2025
Jan 22, 2025
Oct 29, 2024
Dec 31, 2024
Apr 11, 2025
Oct 11, 2019
Dec 21, 2024
Oct 17, 2024
Jan 4, 2025

Repository files navigation

Dependencies

   Python 3.6 +
    pip install -r requirements.txt

Multiplayer

Creating a multiplayer videogame using only sockets and pygame as a base.

The client sends keyboard events and the server sends game state changes. Everything is centered on the server as the authority.

TODO:

  • there have been visual changes in the tanks and in the sizes. At the moment I'm focusing on the server logic and the game state, and at the end I plan to touch the graphics.

Controls

** Movement

  • Left: A
  • Right: D
  • Up: W
  • Down: S

** Tank turret

  • Left: I
  • Right: P
  • Shot: O