目標
在 7×6 棋盤中先連成水平、垂直或斜向的四子。
規則
- 棋子受重力,落在該列最低空格
- 交替落子直到有人連四或棋盤填滿
AI 難度
- 簡單:隨機
- 中等:minimax 深度 4
- 困難:minimax + alpha-beta 深度 7
Goal
Be first to connect four pieces horizontally, vertically, or diagonally on the 7×6 board.
Rules
- Pieces fall due to gravity, landing on the lowest empty row in the column
- Players alternate until someone connects four or the board is full
AI Difficulty
- Easy: random
- Medium: minimax depth 4
- Hard: minimax + alpha-beta depth 7