Commit df31f5f
committed
feat: Implement PC Logic Adapter and Decision Engine
- Added PcLogicAdapter for handling PC logic input states.
- Introduced RuleBasedDecisionEngine for generating action plans based on observed game states.
- Created StateNormalizer to transform runtime state into ObservedState format.
- Developed TftDataProvider for fetching and caching TFT data from remote sources.
- Implemented services for managing PC logic execution and TFT data retrieval.
- Added tests for RuleBasedDecisionEngine and TftDataProvider to ensure functionality.
- Updated TypeScript configuration for improved module resolution and strict type checking.1 parent c182140 commit df31f5f
30 files changed
Lines changed: 2182 additions & 297 deletions
File tree
- electron
- scripts
- src-backend
- adapters
- core
- data
- services
- states
- utils
- tests/backend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
176 | 185 | | |
177 | 186 | | |
178 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| 494 | + | |
| 495 | + | |
492 | 496 | | |
493 | 497 | | |
494 | 498 | | |
| |||
538 | 542 | | |
539 | 543 | | |
540 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
703 | 712 | | |
704 | 713 | | |
705 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
706 | 725 | | |
707 | 726 | | |
708 | 727 | | |
| |||
871 | 890 | | |
872 | 891 | | |
873 | 892 | | |
874 | | - | |
| 893 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
0 commit comments