This is a 2D RPG-style game developed using Python and Pygame.
The project was created as a course assignment and focuses on simple gameplay mechanics, turn-based combat, and tilemap-based exploration.
In this game, you play as a hero who is summoned to another world.
After leaving the beginner village, you meet a seemingly kind old man who tricks you into exchanging all your treasures for a legendary sword — which turns out to be fake.
Realizing you have been deceived, you decide to begin an adventure to defeat the old man’s guards and reclaim your lost treasures.
You are a hero summoned to another world.
An old man offers you the legendary sword pulled from a stone,
but only in exchange for all your treasures.After accepting the deal, you discover the truth —
you have been tricked.To take back your belongings, you embark on a dangerous journey
and face the old man’s followers in battle.
Each character has unique abilities and attack styles.
- Old Man – The mastermind behind the deception
- Hooded Guard – Physical attack-based enemy
- Wizard – Magic-based enemy

- Tilemap-based map design
- Player movement using arrow keys
- Combat is triggered when the player encounters enemies guarding treasures
- Each character has unique attack skills (physical or magic)
- Arrow Keys – Move the character (Up / Down / Left / Right)
- Automatic Battle Trigger – Occurs when touching guarded treasure
- After winning a battle:
- Player attack power increases
- Enemy health increases in subsequent battles
- When hit by enemy attacks:
- Player is knocked backward
- Player HP decreases
- The game is won when:
- All enemies are defeated
- All treasures are recovered
- Pygame – Game loop, rendering, and event handling
- Pytmx – Tilemap (TMX) map loading
- Random – Randomized elements in combat and gameplay
-
Main Program
- Game loop
- Event handling
- Scene transitions
-
Object Modules
- Player
- Enemies
- Attacks
- Map objects
-
Combat System
- Turn-based combat logic
- Damage calculation
- Knockback effects
This project was created to:
- Practice Python game development
- Learn Pygame fundamentals
- Build a simple RPG game for stress relief and entertainment
- Ya-Chuan Hsu
- Wen-Zhen Lin
This project demonstrates:
- Basic RPG mechanics
- Tilemap integration
- Object-oriented design
- Simple combat system using Python



