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