Skip to content

Telman3000/Labirint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Labirint โ€” 2D Maze Game (Pygame)

Labirint is an early experimental 2D maze game developed using Python and Pygame. The project was created more than two years ago as part of my initial journey into programming and game development.

Despite being an early project, it represents a complete playable game with enemies, obstacles, combat mechanics, and win/lose conditions.


๐ŸŽฎ Gameplay Overview

The player navigates through a 2D labyrinth filled with walls, traps, and moving enemies. The goal is to reach the final point while avoiding collisions and defeating enemies using ranged attacks.

Core gameplay features:

  • Free 2D player movement
  • Maze-based level layout
  • Multiple enemy types with different movement patterns
  • Shooting mechanics (laser & bullets)
  • Win / Lose conditions
  • Sound effects and background music

๐Ÿ›  Tech Stack

  • Language: Python
  • Library: Pygame
  • Graphics: 2D sprites
  • Audio: Pygame mixer
  • Platform: Desktop

๐Ÿงฉ Game Architecture

The game is structured using basic object-oriented principles:

  • GameSprite โ€” base class for all game objects
  • Player โ€” player movement and shooting logic
  • Enemy classes โ€” different enemy movement behaviors
  • Wall โ€” static obstacles forming the maze
  • Bullet โ€” projectile mechanics
  • Main game loop handling:
    • input processing
    • collision detection
    • game state (win / lose)
    • rendering and FPS control

๐Ÿ“ธ Screenshots


โ–ถ๏ธ How to Run

pip install pygame
python labirint.py
Make sure all required assets (images and sounds) are located in the same directory as the script.

๐Ÿ“Œ Project Status ๐ŸŸก Archived / Educational Project

This project is no longer actively developed. It is preserved as an educational and portfolio project representing my early experience in game development.

๐Ÿ“ˆ What I Learned Basics of 2D game development

Working with the Pygame framework

Object-oriented design for game entities

Collision detection and game loops

Managing game state and user input

Integrating sound and visual assets

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages