https://github.com/tranchikhang/MedievalWar
A simple turn-based strategy game using Phaser 3
https://github.com/tranchikhang/MedievalWar
game gamedev javascript phaser-game phaser3 turn-based-strategy
Last synced: over 1 year ago
JSON representation
A simple turn-based strategy game using Phaser 3
- Host: GitHub
- URL: https://github.com/tranchikhang/MedievalWar
- Owner: tranchikhang
- License: mit
- Created: 2019-07-05T12:51:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T08:41:10.000Z (almost 5 years ago)
- Last Synced: 2024-10-23T22:15:59.658Z (over 1 year ago)
- Topics: game, gamedev, javascript, phaser-game, phaser3, turn-based-strategy
- Language: JavaScript
- Homepage: https://tranchikhang.github.io/MedievalWar/
- Size: 1.27 MB
- Stars: 36
- Watchers: 5
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## What is this game
Medieval War is a turn-based strategy game I created in my free time for education purposes, inspired by Fire Emblem series. This game is built in JavaScript using the Phaser 3 Framework.

## Components
The game can be broken down into components list as below.
1. Core gameplay
1. Map
1. Map data and loading - still need some code refactoring, especially with *level* class
2. Cursor
3. Control
* Interaction (Select, Cancel etc)
* Movement
4. Context menu
* List action
* Interaction
5. Camera
2. Unit
1. Initialize units
2. Turn system
3. Movement
* Movable location - Need more testing and code refactoring
* Path finding - Need more testing and code refactoring
* Actions - In progress
3. Attack enemy unit - In progress
* Detect enemy unit
* Select the unit to attack by moving cursor
* [Show damage, hit rate etc calculation](https://github.com/tranchikhang/MedievalWar/issues/5)
* If user choose to attack, update unit status after attack (HP etc)
4. Ally Support - Not implemented
5. Battle system - In progress
1. Hit - evasion calculation
2. Damage calculation - In progress
3. Support calculation
6. AI
1. Detect player unit in range, then move next to them
2. [Aggressiveness level](https://github.com/tranchikhang/MedievalWar/issues/4)
3. Decision making (to attack or not etc)
7. Map objectives
1. Define objectives
2. Check if objectives are completed then end chapter
2. Character
1. Classes
2. Character data
3. Character sprite - animation
4. [Leveling system](https://github.com/tranchikhang/MedievalWar/issues/6)
3. [Items](https://github.com/tranchikhang/MedievalWar/issues/3)
1. Unit inventory
2. Unit equipment
3. Trade
4. Shop
## Assets
### Graphics
* [https://opengameart.org/content/toens-medieval-strategy-sprite-pack-v10-16x16](https://opengameart.org/content/toens-medieval-strategy-sprite-pack-v10-16x16) by Toen (CC-BY 3.0)
## License
This project is under MIT License.