An open API service indexing awesome lists of open source software.

https://github.com/treechcer/rogue-like-game


https://github.com/treechcer/rogue-like-game

Last synced: over 1 year ago
JSON representation

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