Skip to content

tranchikhang/MedievalWar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    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
      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
  3. Items
    1. Unit inventory
    2. Unit equipment
    3. Trade
    4. Shop

Assets

Graphics

License

This project is under MIT License.

Releases

No releases published

Packages

No packages published