Skip to content

Modernize tic-tac-toe contract to Move V2 syntax#15

Open
iskysun96 wants to merge 1 commit intogregnazario:mainfrom
iskysun96:modernize-tic-tac-toe-v2
Open

Modernize tic-tac-toe contract to Move V2 syntax#15
iskysun96 wants to merge 1 commit intogregnazario:mainfrom
iskysun96:modernize-tic-tac-toe-v2

Conversation

@iskysun96
Copy link
Copy Markdown

Summary

  • Convert while loops with counters to for-range loops
  • Replace vector::borrow/borrow_mut with index notation
  • Replace vector::push_back/length and simple_map:: calls with receiver style
  • Remove unnecessary acquires on inline functions
  • Add test suite with 27 tests covering happy paths and error cases
  • Fix Move.toml: pin AptosFramework to mainnet rev, add dev-addresses

Test plan

  • All 27 tests pass (aptos move test)
  • Verify deployment to devnet still works

🤖 Generated with Claude Code

- Convert while loops with counters to for-range loops (T1-09)
- Replace vector::borrow/borrow_mut with index notation (T1-01/T1-02)
- Replace vector::push_back/length with receiver style (T1-03)
- Replace simple_map:: calls with receiver style (T1-03)
- Remove unnecessary acquires on inline functions
- Add test suite with 27 tests covering happy paths and error cases
- Fix Move.toml: pin AptosFramework to mainnet rev, add dev-addresses

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 26, 2026

Deploy Preview for aptos-tic-tac-toe canceled.

Name Link
🔨 Latest commit a5f3c7a
🔍 Latest deploy log https://app.netlify.com/projects/aptos-tic-tac-toe/deploys/69a0cb1493790d00089154ef

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