Skip to content

docs: sync docs & config with current contract mechanics#9

Merged
keanji-x merged 1 commit intomainfrom
fix/sync-docs-with-contracts
Apr 5, 2026
Merged

docs: sync docs & config with current contract mechanics#9
keanji-x merged 1 commit intomainfrom
fix/sync-docs-with-contracts

Conversation

@keanji-x
Copy link
Copy Markdown
Collaborator

@keanji-x keanji-x commented Apr 5, 2026

Summary

  • CLAUDE.md & skill.md: Fix outdated game parameters to match current GameEngine.sol — hex grid radius (8→4), building slots (12→6), spawn (1 hex→7-hex cluster), ore rate (per min→per sec), attack cooldown (60s→5s), combat rewards, happiness mechanics
  • frontend/config/gravity.json: Update router address to latest Gravity Testnet deployment (0x71fb...)
  • CLAUDE.md: Add full deployed contract address table
  • justfile: Add gravity-deploy recipe for one-command Gravity Testnet deployment

Test plan

  • Verify skill.md numbers match GameEngine.sol constants
  • Verify frontend connects with new router address
  • Run just gravity-deploy to confirm recipe works

🤖 Generated with Claude Code

- hex grid radius 8 → 4, building slots 12 → 6
- starting hex → 7-hex cluster, add ore pool cap (1000)
- ore production rate: ore/min → ore/sec
- attack cooldown 60s → 5s
- combat win: "keep 70% ore" → "steal 30% of defender pool, +15 morale"
- add post morale (+10) and happiness decay formula
- update deployed contract addresses to latest Gravity Testnet deployment
- add gravity-deploy recipe to justfile
- remove stale deployed-addresses.json references

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@keanji-x keanji-x merged commit a0afbb7 into main Apr 5, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant