Skip to content

Commit 8871ff2

Browse files
committed
added support files
1 parent d74e142 commit 8871ff2

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

2D-Platformer/Readme.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# 2D Platformer Game with Pygame
2+
3+
This is a simple 2D platformer game created using Pygame, where the player can move, jump, and collect coins placed on platforms. The game includes a scoring system where points are earned by collecting coins.
4+
5+
## Features
6+
7+
- **Player movement**: Move left and right using arrow keys, jump using the space bar.
8+
- **Multiple platforms**: Platforms are generated at random positions and heights.
9+
- **Coin collection**: Coins are placed on platforms, and the player earns points by collecting them.
10+
- **Score display**: The player's score is displayed on the screen.
11+
12+
## Controls
13+
14+
- **Left arrow**: Move left.
15+
- **Right arrow**: Move right.
16+
- **Space bar**: Jump.
17+
18+
## Installation
19+
20+
### Requirements
21+
22+
To run this game, you need to have Python and Pygame installed on your machine.

2D-Platformer/requirements.txt

32 Bytes
Binary file not shown.

2D-Platformer/runtime.txt

32 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)