오목 게임 (vs 컴퓨터)
Omok (Gomoku) vs Computer
오목이란?
오목(五目)은 15×15 바둑판 위에 두 사람이 번갈아 돌을 놓아, 가로·세로·대각선 중 어느 방향이든 자신의 돌 5개를 먼저 연속으로 놓으면 승리하는 게임입니다. 이 페이지에서는 사람이 흑돌로 먼저 두고 컴퓨터가 백돌로 응수합니다.
게임 방법
바둑판의 교차점을 클릭하면 가장 가까운 자리에 흑돌이 놓입니다. 이어서 컴퓨터가 자동으로 백돌을 둡니다. 어느 한쪽이든 5개를 연속으로 완성하면 즉시 게임이 종료되고 결과가 표시됩니다. 무르기로 직전 1수(내 돌과 컴퓨터의 응수)를 되돌릴 수 있고, 새 판으로 언제든 처음부터 다시 시작할 수 있습니다.
컴퓨터 AI는 어떻게 두나요?
컴퓨터는 매 차례 빈 교점마다 자신과 상대의 연속된 돌 수·열린 방향 여부를 점수로 매겨 가장 유리한 자리에 둡니다. 상대가 4개를 연속으로 만들면 즉시 막고, 자신이 4개를 연속으로 완성할 수 있으면 그 수를 우선하며, 열린 3(양쪽이 비어 4로 이어질 수 있는 형태)에도 대응합니다.
개인정보
대국 진행 상황은 브라우저 화면에만 표시되며, 서버로 전송되거나 저장되지 않습니다.
What is this?
Omok (Gomoku) is played on a 15×15 board where two players alternate placing stones. The first to line up 5 stones in a row — horizontally, vertically, or diagonally — wins. Here you play Black (first move) against a computer playing White.
How to play
Click any intersection on the board to place a black stone at the nearest point. The computer then places a white stone automatically. The game ends the moment either side completes 5 in a row. Use Undo to take back the last pair of moves (yours and the computer's reply), or New game to restart anytime.
How does the computer AI play?
On each turn the computer scores every empty point by counting consecutive stones for itself and its opponent, and whether the line is open on either end. It immediately blocks the opponent's 4-in-a-row, prioritizes completing its own 4-in-a-row, and also responds to open 3-in-a-rows.
Privacy
Game progress is shown only in your browser and is never sent to or stored on a server.