A simple Dragon Game made using Python and Pygame.
- Control a dragon using arrow keys.
- Collect fireballs to grow longer.
- Win by reaching 10 points.
- Game ends if the dragon collides with itself.
- Sky background and dragon sprites.
- Python 3.x
- Pygame
Install Pygame:
pip install pygame- Download or clone this repository.
- Make sure the
assetsfolder is present. - Run:
python dragon_game.py- ↑ Up Arrow
- ↓ Down Arrow
- ← Left Arrow
- → Right Arrow
Collect 10 fireballs to win the game.
Dragon-Game/
│
├── dragon_game.py
├── assets/
│ ├── sky_background.jpg
│ ├── dragon_head.png
│ ├── dragon_body1.png
│ ├── dragon_body2.png
│ ├── dragon_tail.png
│ └── fireball.png
└── README.md
Siddharth Lolge