Skip to content

RudraJy/Dodge-the-Blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dodge the Blocks 🎮

Welcome to my Pygame-based project! This game was developed using the Pygame library, with various features such as a welcome screen, gameplay mechanics, and sound effects to enhance the overall experience.

Table of Contents

🎯 Overview

This is a simple 2D game where the player must navigate obstacle blocks to reach the highest possible score. The game features multiple levels, scoring, and a dynamic difficulty system. When the player crashes, the game displays the final score and game over screen.

🚀 How to Play

  1. On running the game, the welcome screen pops up. Have a read of the instructions displayed.
  2. Start the game by clicking the START button on the welcome screen.
  3. Dodge the obstacle blocks by controlling your player using the arrow keys.
  4. Avoid touching the walls. That will reduce your score.
  5. Try to achieve the highest score before crashing!

🧾 Features

  • Welcome Screen: Displays instructions and a start button.
  • Gameplay: Dynamic obstacles, scoring system, and increasing difficulty.
  • Music and Sound Effects:
    • Background music on the welcome screen and during gameplay.
    • Sound effects when advancing levels and upon crashing.
  • Game Over Screen: Displays your final score and game over text after crashing.
  • Fixed Window Size: The game runs in a fixed window size, disabling resizing for a consistent experience.

🔧 Installation

To run the game locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/RudraJy/Dodge-That-Block.git
    
  2. Install the dependencies

    pip install pygame
    
  3. Run the game

    python pygame.py
    

📢 Credits

Background music and sound effects sourced from OpenGameArt. For specific credits, please check the CREDITS.md file.

📖 License

This project is licensed under the MIT License. See the LICENSE.md file for details.

About

A simple 2D game developed using Pygame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages