井字游戏 Resources

Showing items tagged with "井字游戏"

This is a simple implementation of the classic Tic-Tac-Toe game, developed as a practical exercise to demonstrate GUI development and algorithm implementation in MATLAB. The game features both single-player mode against computer AI and two-player mode for competing with friends. Implementation includes grid handling, win condition checking, and an AI opponent using minimax algorithm with alpha-beta pruning for optimal moves.

MATLAB 353 views Tagged