shrawani21 / gamer_21

Dots & Boxes
MIT License
52 stars 111 forks source link

Update player.py #57

Closed madhupashish closed 4 months ago

madhupashish commented 4 months ago

The upgraded code includes several added features and improvements. Type hints have been incorporated to enhance code readability and enable type checking. Refactoring efforts have focused on improving function and variable names for greater clarity. The logic has been enhanced by consolidating similar functionalities into reusable functions and refining the handling of box sides and adjacency checks. In anticipation of future developments, a placeholder for an "expert" strategy has been added, suggesting a potential future feature. Additionally, the strategies for each difficulty level have been clearly defined and streamlined, ensuring a more organized and understandable codebase.

madhupashish commented 4 months ago

Hii can we connect on linkedin : https://www.linkedin.com/in/ashish-madhup-640479221/