tft_2d is an exciting project aiming to create a simplified version of Riot Games' popular game, Teamfight Tactics. In this game, you will experience thrilling battles on a hex-tiled terrain, where capsule units engage in strategic combat.
![Image](https://private-user-images.githubusercontent.com/12681393/256138285-101f6afa-e9dc-4314-8905-42a72b4c939f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5Mjc0NTUsIm5iZiI6MTcyMzkyNzE1NSwicGF0aCI6Ii8xMjY4MTM5My8yNTYxMzgyODUtMTAxZjZhZmEtZTlkYy00MzE0LTg5MDUtNDJhNzJiNGM5MzlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDIwMzkxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0MTMzNmJkMzUwNmVjMDcxMWYwNWExZDExZGU1NTc3MzQwMDk3MTEyNDRhMzBmODM2YzA3ZWY5Yjg5MTJiMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.C5f9f7slXilh1YwLgQLLUG1SzfGkxUjfV5yRKIfsadQ)
![Image](https://private-user-images.githubusercontent.com/12681393/256138569-983bbfcb-92ee-4231-83b0-33a083a4e56b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5Mjc0NTUsIm5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kxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0ZjdiZWYyMjJkZDQyMTIxOTY2YTZiZmEyYTliNTAwNGI5N2M1MWU0YWExYWI2MWNlNzk1YjdjYzBhZDVkMzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.A1Kiop9Gd7d9E6I7fHI5uTKCxBapziQVmQ7xLDM23os)
- Captivating Capsule Units: The game features an array of captivating capsule units that form the core of your tactical army.
- Strategic Hex Terrain: Battle takes place on a hex-tiled terrain, creating a dynamic and strategic battlefield.
- Ally and Enemy Tiles: The hex tiles are divided equally into ally and enemy territories, setting the stage for epic confrontations.
- Bench Space: The first row of ally tiles serves as the bench space, where units can be stored before deployment.
- Fully Functional Shop: Experience the excitement of a fully functional shop that offers new units and scrambles items with a refresh button.
- Unit Deployment: Purchased units are seamlessly spawned on the bench space, ready for deployment to the fighting ground.
- Drag and Drop Units: Easily rearrange your army by dragging and dropping units with the left mouse click.
- Unit Stats Display: Right-click on a unit to access detailed stats, allowing you to make informed tactical decisions.
- Two Game States: The game offers two distinct states - Buying and Fighting - each with unique gameplay mechanics.
- Buying State: In this phase, the shop opens, enabling you to buy units, strategize, and plan your tactical combinations.
- Fighting State: Prepare for intense battles as each unit automatically detects and moves towards the nearest enemy unit by tiles.
- Attack Range Mechanics: Units possess individual attack ranges, stopping to engage targets within their range.
- Diverse Unit Types: Choose from a variety of unit types, including ranged and melee combatants, each adding depth to your tactics.
- Race and Class Mechanics: Each unit is categorized by race and class. Races include Human, Orc, and Elf, while classes include Warrior, Archer, and Mage.
I'm opened for any contributions to tft_2d! If you want to contribute, please follow these steps:
- Step 1: Fork the repository
- Step 2: Create a new branch
- Step 3: Make your changes and commit them
- Step 4: Push your changes to your fork
- Step 5: Submit a pull request
Please ensure that your code adheres to our coding standards, and include relevant tests for the changes you make.
If you encounter any bugs or have ideas for new features, please open an issue on our GitHub repository. Any feedback is highly appreciated!
tft_2d is fully open-source, I would love anyone who wants to contribute and upgrade it.
If you need anything, you can directly reach out to me at [[email protected]].