오별랩 OByeolLab

퍼즐

흑백 뒤집기

Reversi on a lacquer tray.상대 돌을 사이에 두고 뒤집는 보드게임.

게임 화면은 한국어예요.

게임 시작

새 창에서 열기 다른 게임

흑백 뒤집기

흑돌과 백돌로 상대 돌을 사이에 끼워 뒤집는 8×8 보드게임이에요. 옻칠한 쟁반 같은 판 위에서 컴퓨터와 겨루거나, 한 화면에서 둘이서 번갈아 둘 수 있어요. 규칙은 간단하지만 돌이 한순간에 뒤집혀서 끝까지 승부를 알 수 없어요.

조작법

  • 빈칸을 눌러 돌을 놓아요. 놓을 수 있는 칸에는 점이 표시돼요.
  • 키보드는 방향키로 칸을 옮기고 Enter 키나 스페이스로 놓아요.
  • 새 판 카드에서 컴퓨터와 둘이서 중에 고르고, 컴퓨터와 할 때는 내 돌 색(흑은 먼저 둬요)과 수준(쉬움, 보통, 어려움)을 정해요.
  • 되돌리기와 힌트 버튼으로 수를 무르거나 좋은 자리를 확인해요.
  • 둘 곳 표시 버튼으로 점 표시를 켜고 꺼요.

규칙과 점수

  • 내 돌 두 개 사이에 상대 돌을 끼우도록 놓으면 끼인 돌이 모두 내 색으로 뒤집혀요.
  • 가로, 세로, 대각선 방향 모두 끼울 수 있어요.
  • 둘 곳이 없으면 차례를 넘기고, 양쪽 다 둘 곳이 없으면 끝나요.
  • 끝났을 때 돌이 더 많은 쪽이 이겨요. 같으면 비겨요.
  • 컴퓨터와 할 때 되돌리기와 힌트는 각각 3번까지 쓸 수 있어요.
  • 오른쪽 기보에 지금까지 둔 수가 차례대로 쌓여요.

팁: 당장 돌을 많이 뒤집는 수보다 상대가 둘 곳이 적어지는 수가 더 유리할 때가 많아요.

모서리와 가장자리

모서리에 놓은 돌은 어느 방향으로도 양쪽에서 끼일 수 없어서 끝까지 뒤집히지 않아요. 모서리에서 가장자리를 따라 끊김 없이 이어진 내 돌도 뒤집히지 않아요. 그래서 모서리를 차지하는 일이 중요해요. 반대로 모서리 바로 옆 칸과 모서리의 대각선 칸은 조심하세요. 거기에 두면 상대에게 모서리가 열리는 경우가 많아요. 컴퓨터도 같은 생각으로 판을 점수 매겨요. 쉬움 컴퓨터도 모서리 칸은 높게, 모서리 옆과 대각선 칸은 낮게 봐요.

돌 수보다 둘 곳 수

초반에는 돌을 가장 많이 뒤집는 수가 좋은 수가 아니에요. 내 돌이 많을수록 상대가 끼워 둘 곳도 늘어나기 때문이에요. 상대가 둘 곳이 적어지는 수, 내 돌이 판 안쪽에 모이는 수가 보통 더 좋아요. 선택지가 적은 상대는 어쩔 수 없이 나쁜 자리에 두게 돼요.

끝이 가까워지면 달라져요. 빈칸이 적어지면 마지막 돌 수가 승부를 가르니 각 수가 실제로 뒤집는 개수를 세어 보세요. 보통과 어려움 컴퓨터는 둘 곳 수의 차이를 점수에 넣고, 어려움은 빈칸이 14칸 이하가 되면 끝까지 모든 수를 따져 봐요.

무르기와 힌트

컴퓨터와 둘 때 무르기는 3번이에요. 무르면 컴퓨터가 응수한 수까지 함께 사라져서 내가 방금 둔 수 직전으로 돌아가요. 힌트도 3번이고, 어려움 컴퓨터가 0.3초쯤 생각해 고른 수를 알려 줘요. 힌트대로 두면 어려움 수준의 수를 두는 셈이에요. 둘이서 두는 판에서는 무르기에 횟수 제한이 없고, 힌트는 흑과 백이 각각 3번씩이에요.

만든 이야기

컴퓨터는 세 단계예요. 쉬움은 앞을 내다보지 않아요. 둘 수 있는 칸마다 칸 점수에 뒤집는 돌 수의 두 배를 더하고 무작위 값을 보태 가장 높은 칸을 골라요. 다만 18%는 아무 칸이나 둬요. 보통은 네 수 앞까지 따져 보고 칸 점수와 둘 곳 수의 차이로 판단해요. 어려움은 한 수에 0.4초 안팎의 시간 동안 점점 깊이 읽고, 모서리와 안정된 돌, 둘 곳 수를 더 세밀하게 점수로 매겨요. 빈칸이 14칸 이하면 끝까지 계산해서 돌 차이가 가장 크게 남는 수를 골라요. 시간이 모자라면 일반 탐색으로 대신하니, 느린 기기에서는 덜 깊이 읽을 수 있어요.

처음 배치는 가운데 대각선에 흑 둘, 백 둘이고 흑이 먼저 둬요. 끝났을 때 돌이 더 많은 쪽이 이겨요.

Reversi on a lacquer tray

An 8x8 board game where you flip your opponent's discs by trapping them between two of your own. Play against the computer or take turns with a friend on one screen, on a board that looks like a lacquer tray. The rules are simple, but discs can flip all at once, so the winner is hard to guess until the end.

How to play

  • Tap an empty cell to place a disc. Cells where you can play are marked with a dot.
  • On a keyboard, move with the arrow keys and place a disc with Enter or Space.
  • On the New Game card, pick Computer or Two Players. Against the computer you also choose your color (black moves first) and a level: Easy, Normal or Hard.
  • Use the Undo and Hint buttons to take back a move or check a good spot.
  • The Show Moves button turns the dot markers on and off.

Rules and scoring

  • Place a disc so that opposing discs are trapped between it and another of your discs, and all trapped discs flip to your color.
  • You can trap discs horizontally, vertically and diagonally.
  • If you have no place to play, your turn is skipped. The game ends when neither side can move.
  • The player with more discs at the end wins. Equal counts are a draw.
  • Against the computer, you can use Undo and Hint up to 3 times each.
  • The move list on the right records every move in order.

Tip: A move that leaves your opponent with few places to play is often better than one that flips the most discs right now.

Corners and edges

A disc in a corner can never be flipped, because there is no square on one side of it in any direction. Discs in an unbroken line along an edge from a corner cannot be flipped either. So taking corners matters. Be careful with the squares next to a corner, both along the edge and diagonally. Playing there often opens the corner to your opponent. The computer scores the board the same way: even the Easy computer rates corners high and the squares beside and diagonal to corners low.

Moves matter more than discs

Early on, flipping the most discs is not the best move. The more discs you have, the more places your opponent can find to flank them. Moves that leave your opponent few places to play, and keep your discs toward the inside, are usually better. An opponent with few choices has to play somewhere bad.

Near the end the picture changes. With few empty squares left, the final disc count decides the game, so count what each move really flips. The Normal and Hard computers put the difference in available moves into their score, and Hard calculates every line of play to the end once 14 or fewer squares are empty.

Undo and hints

Against the computer you get 3 undos. An undo also removes the computer's reply, so you go back to just before your last move. You get 3 hints too. A hint is the move the Hard computer picks after thinking for about 0.3 seconds, so following it means playing at the Hard level. In two-player games, undo has no limit and each color gets 3 hints.

Behind the game

The computer has three levels. Easy does not look ahead. For each possible square it adds a square score and double the number of discs flipped, then a random amount, and picks the highest. Still, 18% of the time it plays a random square. Normal looks four moves ahead and judges by square scores and the difference in available moves. Hard searches deeper and deeper within about 0.4 seconds per move, and scores corners, stable discs and available moves in more detail. When 14 or fewer squares are empty it calculates to the end and picks the move that leaves the biggest disc difference. If that takes too long it falls back to the normal search, so a slow device may read less deeply.

The start position has two black and two white discs on the center diagonals, and black moves first. Whoever has more discs at the end wins.