Giter Club home page Giter Club logo

medievalwar's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.