MIT-Emerging-Talent / 2024-group-11-collaboration-practice

MIT License
0 stars 3 forks source link

Minimax solved #48

Closed AhWalidShahab closed 10 months ago

AhWalidShahab commented 10 months ago

The code implements the 'minimax' algorithm for tic-tac-toe in Python, featuring two main functions: 'minimax' and 'find_best_move'. The 'minimax' function recursively evaluates all possible game moves, optimizing for the current player's best outcome while considering the opponent's strategy. The 'find_best_move' function uses minimax to identify the most advantageous move for the current game state. This implementation is designed for creating an intelligent AI opponent in tic-tac-toe, and it includes a suite of tests to ensure its effectiveness across various game scenarios.

README Documentation

Python Files

Function Docstring

Function Implementation

Unit Test Suite

AhWalidShahab commented 10 months ago

Thanks guys:))