Martina
Card Game War

War is a simple but exciting card game that almost everyone knows. I decided to convert it into a digital form using Python and the Pygame library, creating my own visual version of this classic. The project combines work with graphics, user interface, animations and basic game logic.

Players enter their names at the beginning and then enter the game environment, where they can gradually reveal cards. Each round is automatic: the higher card takes. In the event of a tie, a "war" is triggered — a special phase where additional cards are laid out until a winner is determined.

The game includes:

  • its own graphical menu with wooden buttons,
  • loading and scaling of card images,
  • animation of turned and covered cards,
  • clear game interface,
  • modular logic of the deck, score and game progress.

The goal of the project was not only to create a functional game, but also to try working with assets, event loops, classes, and game states. WAR is a great training for anyone who wants to get into 2D game development in Python.