Repolode
Grimmys

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. 1

    Install Python 3.13 or above and uv

  2. 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

#pygame#game-development#turn-based-strategy#rpg#2d-game#python#games#player#pygame-games#rpg-game

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

A lightweight Unity combat and skill framework built on the Entity-Component pattern, with configuration via ScriptableObject or Excel tables.

Developer Tools#unity#gameplay#skill-system
2.4K+6 this week545C#MITUpdated 27 days ago

Open-source turn-based strategy and board game engine in the style of Axis & Allies and Risk, with community-made maps and multiplayer.

Other#game#strategy-game#turn-based-strategy
1.6K+3 this week498JavaGPL-3.0Well maintainedUpdated 2 days ago