AI Tic Tac Toe Solver

Created by team LLM Geeks on July 21, 2024

The AI Tic Tac Toe Solver leverages Llama 3 and LangChain to determine optimal moves in Tic Tac Toe. Addressing the challenge of conveying previous moves and the board state to the LLM, we simplified the process to enhance performance and accuracy. The model suggests moves, which are evaluated by a custom LangChain function. If a move is deemed poor, a new suggestion is requested. The interface uses IPython widgets and buttons for interactive play, providing a seamless user experience. Easily runnable via Google Colab, this project showcases advanced AI capabilities in game strategy and decision-making, making it both educational and entertaining.

Category tags: