sagilio / SukaLambda

War-chess game framework, for Turing-complete skill effects and 2-D grid map. Text-based user interface only. Logging system will be improved and will probably break the current APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A game skill engine!

  • In a functional programming style -> Reduces coupling
Skill ->(Player Command)-> SkillExecution
      -> NumericEffect -> MetaEffect(NumericEffect) -> NumericEffect
      -> Committed to character

SukaLambdaEngine: [Round, Round, ...]

Round: [SkillExecution, SkillExecution, ...]
sortBy(priority).thenBy(characterSpeed).thenBy(...)       

SkillExecution: [MetaEffect -> ... -> SkillExecution -> ... -> MetaEffect]
sortBy(priority).thenBy(characterSpeed).thenBy(...)

MetaEffect: intakes NumericEffect, and returns a modified NumericEffect
NumericEffect: Can be committed to characters
  • 2-D text-based Map + detection mechanism!

    Happy playing electronic warfare.

  • Not thread-safe. Use your own locks!

About

War-chess game framework, for Turing-complete skill effects and 2-D grid map. Text-based user interface only. Logging system will be improved and will probably break the current APIs


Languages

Language:C# 100.0%