Skip to content

Refactor engine utilities and update legal_moves API#2

Merged
PierreLapolla merged 1 commit into
masterfrom
dev
Mar 30, 2026
Merged

Refactor engine utilities and update legal_moves API#2
PierreLapolla merged 1 commit into
masterfrom
dev

Conversation

@PierreLapolla

Copy link
Copy Markdown
Owner

Refactored several components within the engine utilities to enhance reusability and streamlined error handling. Introduced _engine_utils to centralize shared logic and optimized the turn finalization process.

Additionally, the legal_moves API was updated to utilize a live Collection view, replacing the previous cached tuple approach for improved efficiency.

Finally, updated the project version to 0.2.0 in pyproject.toml.

…`, streamlined error handling, and optimized turn finalization
@PierreLapolla PierreLapolla merged commit 425097e into master Mar 30, 2026
8 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