-
Notifications
You must be signed in to change notification settings - Fork 0
Lab02 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lab02 #1
Conversation
… pinning for pywin32
…to pypiwin32 in requirements
…t pywin32 installation
There was a problem hiding this 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
…d clean up imports in heuristics
No description provided.