Krishss2006 / Python-x-pygames

Welcome to "Ghost Killer" - an exhilarating Python game crafted using the Pygame library! Immerse yourself in the excitement as you delve into the codebase on GitHub.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ghost Killer - A Python Game using Pygame

Welcome to "Ghost Killer" - an exhilarating Python game crafted using the Pygame library! Immerse yourself in the excitement as you delve into the codebase on GitHub.

Instructions

  • Press 'A' to move left, 'D' to move right.
  • Click on enemies using your mouse cursor to attack.
  • Press 'Space' to start the game.
  • Press 'Esc' to quit the game.

Features:

  • Player Controls: Move your character left and right to dodge enemies and collect power-ups.

  • Attack Mechanism: Use your mouse cursor to target and attack enemies with precision.

  • Dynamic Enemy Spawning: Enemies spawn dynamically, providing continuous challenges as you progress.

  • Power Boosters: Collect power-ups to enhance your abilities and increase your chances of survival.

  • Scoring System: Track your score as you defeat enemies and strive for the highest score possible.

  • Game Over Animation: Experience an immersive game over screen with score tracking and an option to restart.

Getting Started

Prerequisites

  • Python 3.x
  • Pygame library

Installation

  1. Install the required dependencies:
    pip install pygame

Running the Game

  1. Make sure you are in the project directory.
  2. Run the main Python file:
    python main.py

View the Code

You can view the code for this project on GitHub. Click [here][(https://github.com/Krishss2006/Python-x-pygames.git)] to access the project directory.

Feel free to delve into the code, inspect the implementation details, and uncover the secrets behind the game's mechanics.

Join us in the realm of game development and discover the enchantment of Pygame. Let the hunt begin!

Preview

Ghost.Killer.Game.Created.with.Pygame.mp4

Click to watch the video

About

Welcome to "Ghost Killer" - an exhilarating Python game crafted using the Pygame library! Immerse yourself in the excitement as you delve into the codebase on GitHub.


Languages

Language:Python 100.0%