A lightweight Unity combat and skill framework built on the Entity-Component pattern, with configuration via ScriptableObject or Excel tables.
Grimmys/rpg_tactical_fantasy_game
A turn-based 2D tactical fantasy RPG written in Python with pygame, open to community contributions.
- Stars
- 522
- Forks
- 123
- Open issues
- 25
- Last commit
- 2 months ago
What is it?
This is a tactical fantasy role-playing game built in Python on top of pygame. Players control a group of units on a 2D grid map, taking turns to move, attack, and use items, in the style of classic tactics RPGs.
The game includes an in-game main menu, inventory and status screens, and a right-click view of possible movement for any entity on the map. Game values such as units, items and balancing parameters are stored in XML files under the data folder, so they can be adjusted without changing code.
The project is GPL-3.0 licensed and welcomes contributions in the form of bug fixes, game mechanics ideas, balancing feedback, sound effects and music. Windows users can download a prebuilt executable, while others can run it from source with uv and Python 3.13 or later.
Key features
- 01Turn-based tactical combat on a 2D grid map.
- 02Inventory and character status screens.
- 03Unit movement and attack range previews on right-click.
- 04Game data such as units and balance values stored in editable XML files.
- 05Prebuilt executable for 64-bit Windows and source execution via uv.
Use cases
- Playing a classic tactics-style RPG on a desktop computer.
- Learning how a turn-based strategy game is structured in pygame.
- Contributing gameplay tweaks, balancing, or new assets to an open game project.
Quick start
- 1
Install Python 3.13 or above and uv
- 2
Clone the repository and run the game from the source folder
uv run main.py
Things to know
- Prebuilt executable is only offered for 64-bit Windows; other systems must run from source.
- Running from source requires Python 3.13 or above and uv.
- Git LFS is needed to get game assets when contributing or on first run.
In collections
Topics
FAQ
- What is rpg_tactical_fantasy_game?
- A turn-based 2D tactical fantasy RPG written in Python with pygame, open to community contributions. This is a tactical fantasy role-playing game built in Python on top of pygame. Players control a group of units on a 2D grid map, taking turns to move, attack, and use items, in the style of classic tactics RPGs.
- Is rpg_tactical_fantasy_game free to use? What license does it have?
- rpg_tactical_fantasy_game is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is rpg_tactical_fantasy_game still maintained?
- Updated within 6 months. The last commit to rpg_tactical_fantasy_game was on Aug 28, 2026.
- What can I use rpg_tactical_fantasy_game for?
- Playing a classic tactics-style RPG on a desktop computer. Learning how a turn-based strategy game is structured in pygame. Contributing gameplay tweaks, balancing, or new assets to an open game project.
- How do I install rpg_tactical_fantasy_game?
- Install Python 3.13 or above and uv Clone the repository and run the game from the source folder: uv run main.py
- Where can I get rpg_tactical_fantasy_game?
- The source code and installation instructions are on GitHub: https://github.com/Grimmys/rpg_tactical_fantasy_game
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
No-code, open-source game engine and editor for building 2D, 3D and multiplayer games for mobile, desktop and the web.
An agent skill for Claude Code and Codex that turns one reference image into a playable 2D browser game prototype.
A free TypeScript 2D game engine for building games that run in the HTML5 canvas in the browser.
Open-source turn-based strategy and board game engine in the style of Axis & Allies and Risk, with community-made maps and multiplayer.
An open-source voxel action-adventure RPG set in a vast fantasy world, written in Rust and inspired by Cube World and Breath of the Wild.