📝 Fix Store.cairo TODOs and Experience System
🔍 Scope
Complete pending TODOs in store.cairo and integrate ExperienceCalculatorTrait properly.
🔄 How to Implement the Issue
- Import ExperienceCalculatorTrait from
helpers/experience_utils.cairo
- Replace hardcoded values in
award_battle_experience() with trait methods
- Add BASE_BATTLE_EXPERIENCE constant to constants.cairo
- Update experience logic in
process_attack() method
✅ Acceptance Criteria
📸 Additional Context
TODO locations:
- Line ~120: ExperienceCalculatorTrait not implemented
- Line ~127: ExperienceCalculatorTrait not implemented
- Line ~181: Define base experience for winning
Contribution Guidelines
- Please ensure you read and follow the contribution guidelines in the project's README file
📝 Fix Store.cairo TODOs and Experience System
🔍 Scope
Complete pending TODOs in store.cairo and integrate ExperienceCalculatorTrait properly.
🔄 How to Implement the Issue
helpers/experience_utils.cairoaward_battle_experience()with trait methodsprocess_attack()method✅ Acceptance Criteria
sozo test📸 Additional Context
TODO locations:
Contribution Guidelines