Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dodge the Blocks game #771

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Game_Development/Dodge-the-Blocks/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### Sound Effects and Music
- "Start screen theme 'Prelude'" by [Philémon Weber (Helmet)](https://opengameart.org/content/start-screen-theme-prelude) licensed CC-BY 4.0

- "Jump and Run - Tropical Mix" by [bart](https://opengameart.org/content/jump-and-run-tropical-mix) licensed CC-BY 3.0

- "New thing get!" by [congusbongus](https://opengameart.org/content/new-thing-get) licensed CC0

- "Stop" by [Lamoot](https://opengameart.org/content/stop) licensed CC-BY 3.0

- "Game Over effect sound" by [EdenVe](https://opengameart.org/content/game-over-effect-sound) licensed CC-BY 3.0

- "Well Done" by [qubodup](https://opengameart.org/content/well-done) licensed CC0
21 changes: 21 additions & 0 deletions Game_Development/Dodge-the-Blocks/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Rudra Jyotirmay

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
61 changes: 61 additions & 0 deletions Game_Development/Dodge-the-Blocks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# 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](#-overview)
- [How to Play](#-how-to-play)
- [Features](#-features)
- [Installation](#-installation)
- [Credits](#-credits)
- [License](#-license)

## 🎯 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading