Skip to content

Conversation

@spawnia
Copy link
Member

@spawnia spawnia commented Jan 7, 2026

Summary

  • Add coordinateSystemSize function that calculates coordinateSystem.rows.length * coordinateSystem.columns.length
  • Simplify allCoordinateSystemPositions to use the new function
  • Add tests for coordinateSystemSize covering 2x2 and 12x8 coordinate systems

Test plan

  • Unit tests added and passing

🤖 Generated with Claude Code

Add a new utility function that calculates the total number of positions
in a coordinate system (rows.length * columns.length). Use it to simplify
allCoordinateSystemPositions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@spawnia spawnia requested a review from simbig January 7, 2026 15:52
@spawnia spawnia marked this pull request as ready for review January 7, 2026 15:52
@spawnia spawnia merged commit ca71dc8 into master Jan 9, 2026
6 checks passed
@spawnia spawnia deleted the add-coordinate-system-size-function branch January 9, 2026 14:23
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

🎉 This PR is included in version 20.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants