https://github.com/treechcer/rogue-like-game
https://github.com/treechcer/rogue-like-game
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/treechcer/rogue-like-game
- Owner: Treechcer
- License: mit
- Created: 2024-11-26T14:35:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T09:53:06.000Z (over 1 year ago)
- Last Synced: 2024-12-05T10:32:38.574Z (over 1 year ago)
- Language: Python
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rogue-Like-Game
A simple roguelike game built with Python and Pygame. Navigate your character through a dynamically loaded tile-based map, avoiding walls and interacting with moving enemies. This project is a learning exercise in game development and classic roguelike mechanics.
## Features
- **Tile-based movement**: Control your character using the arrow keys.
- **Enemy AI**: Enemies move strategically toward the player.
- **Dynamic level loading**: Levels are drawn dynamically from a 2D array.
- **Custom sprites**: Predefined sprite assets bring the game to life.
- **Fullscreen gameplay**: The game automatically adjusts to fullscreen, scaling to fit any resolution.
## Requirements
- Python 3.8+
- Pygame 2.0+
## How to Run
1. Clone the repository:
```bash
git clone https://github.com/Treechcer/Rogue-Like-Game
cd Rogue-Like-Game
2. Install dependencies:
```bash
pip install pygame
```
Run the game:
```bash
python main.py
```
## Included Assets
- The game includes the following sprites in the `sprites/` folder:
- `hero1.png`: Player character
- `wall.png`: Wall tiles
- `ground.png`: Ground tiles
- `goblin.png`: Enemy character
- and more
## Future Plans
- Add new enemy types with varying movement patterns.
- Implement win/lose conditions and scoring.
- Expand the game with multiple levels and items.
- Contributions are welcome! Fork this repository and make it your own.
- and more