An open API service indexing awesome lists of open source software.

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

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.

![](demo.gif)

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