Skip to content

Conversation

@lmProgramming
Copy link
Owner

No description provided.

@lmProgramming lmProgramming requested a review from Copilot April 18, 2025 20:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements Lab02, introducing Cython build integration for the clobber board module along with several new heuristic algorithms and game logic improvements. Key changes include:

  • Adding a setup script (setup.py) to build Cython files.
  • Implementing various heuristic classes and integrating them into the game and agent modules.
  • Updating tests and CI workflow configuration to support the new Cython build.

Reviewed Changes

Copilot reviewed 19 out of 24 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lab02/setup.py New setup script for building Cython extensions
lab02/heuristics.py Introduces multiple heuristic implementations
lab02/heuristic_helpers.py Helper function for subgame extraction
lab02/game.py Main game loop utilizing new heuristics
lab02/clobber/types.py Type definitions updated for board and moves
lab02/clobber/board_test.py Updated tests reflecting new board string format
lab02/clobber/board.pyi Type stub for the Cython board module
lab02/agent.py Agent implementations using minimax/alpha-beta search
lab01/* Various adjustments in tests, notebooks, and workflows
Files not reviewed (5)
  • .markdownlint.json: Language not supported
  • lab02/clobber/.gitignore: Language not supported
  • lab02/clobber/board.pxd: Language not supported
  • lab02/clobber/board.pyx: Language not supported
  • lab02/clobber/types.pxd: Language not supported
Comments suppressed due to low confidence (1)

lab02/heuristics.py:1

  • Importing from '_collections_abc' is non-standard; consider switching to 'collections.abc' or removing the import if it is not used.
from _collections_abc import dict_items

@lmProgramming lmProgramming merged commit b8d6369 into main Apr 18, 2025
2 checks passed
@lmProgramming lmProgramming deleted the lab02 branch April 18, 2025 20:54
lmProgramming added a commit that referenced this pull request Oct 25, 2025
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.

2 participants