Free to use, no account

Gomoku

Plasser svarte og hvite steiner på et brett på 15 × 15 ruter. Få fem eller flere på rad vannrett, loddrett eller diagonalt for å vinne. Spill mot en venn på enheten eller utfordre en enkel lokal motstander.

Rules Freestyle Gomoku: five or more continuous stones win. The local opponent uses a small heuristic, not a tournament-strength search. Game state stays in this tab and is cleared on reload.

Hvordan vinner jeg Gomoku?

Bytt på å plassere én stein på et tomt krysningspunkt. Den første spilleren som lager fem eller flere sammenhengende steiner i en retning, vinner. Denne versjonen bruker frie regler: lengre rekker vinner også.

Veiledning

Slik bruker du gomoku

Gomoku is a game for two on a 15 by 15 board. Black and white take turns placing stones, and whoever first lines up five or more in a row, across, down or diagonally, wins. You can play a friend on one device or a simple computer opponent that plays white. Nothing is saved between visits.

Slik gjør du

  1. Choose a game mode: play the computer, which moves as white, or two players on one device. Black always moves first.
  2. Press an empty point to place a stone, or use the arrow keys to move between points. Each turn adds exactly one stone, and stones never move or get captured.
  3. Make five or more stones in a straight line before your opponent does. Press New game to clear the board; changing the mode also starts a new game.

Eksempler

Black wins with five in a row

Du skriver inn
Svarte steiner
row 8, columns 4 to 8
Hvite steiner
four stones spread along row 1
Du får
Status
vunnet
Vinner
black
Trekk totalt
9

Black takes five turns and white four, and the game ends the moment black places the fifth stone, which is move 9 overall. Rows and columns are counted from 1 in the labels.

Kjørt med verktøyets egen kode.

Six in a row also wins

Du skriver inn
Svarte steiner
row 8, columns 3, 4, 5, 7 and 8, then column 6
Du får
Status
won
Vinner
black
Lengde på rekken
6

This version uses freestyle rules, so a line longer than five still counts. Black fills the gap in column 6 to join two groups into six stones and wins on that move.

Kjørt med verktøyets egen kode.

The computer blocks an open four

Du skriver inn
Svarte steiner
row 8, columns 4 to 7
Neste spiller
white, computer
Du får
Hvits svar
row 8, column 3

The computer first looks for a move that wins at once, finding none, and then looks for a move that would stop black from winning. Both ends of black's four are open, and it takes the first one it finds, the left end.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Play a quick game with a friend on one phone, tablet or laptop without any setup.
  • Practise spotting open threes and fours against an opponent that never gets tired.
  • Teach the idea of five in a row to a child before moving on to games with more rules.

Begrensninger

  • The rules are freestyle: five or more in a row wins, black has no extra restrictions, and there is no swap rule. The board is fixed at 15 by 15 and a full board with no winner is a draw after 225 stones.
  • The computer is a simple helper. It takes a winning move, then blocks yours, then scores points within two steps of existing stones. It does not search ahead, so it is easy to out-plan.
  • There is no undo, no save, no online play and no timer. The computer always plays white, and a reload or a change of mode clears the board.

Tips

  • Try to build an open three, a row of three with free points on both ends, because it forces a reply.
  • Look for a move that makes two lines of three at once. A single block cannot stop both.
  • Watch the diagonals as well as the rows and columns, since beginners often forget them.

Vanlige spørsmål

How do you win at Gomoku?

Place stones on empty points in turn and be the first to make an unbroken line of five or more of your own colour, in a row, a column or either diagonal direction.

Does the line need to be exactly five?

No. This version uses freestyle rules, so six or more in a row also wins. Rules that limit black are not used here.

Which colour moves first, and can I play white?

Black always moves first. Against the computer you play black and the computer plays white. In two-player mode, you and a friend share the board and take turns.

How strong is the computer opponent?

It is a basic opponent. It wins at once if it can, blocks your five if it must, and otherwise picks the best-scoring nearby point by counting open lines. It is not a tournament-strength program.

Can I take back a move?

No. The page has no undo button, so think before you place a stone. You can press New game to start over.

Is the game saved or sent online?

Neither. The board lives in the open tab and is cleared on reload. There is no account, no server opponent and no online multiplayer.

Ofte stilte spørsmål

Hvordan vinner jeg Gomoku?

Bytt på å plassere én stein på et tomt krysningspunkt. Den første spilleren som lager fem eller flere sammenhengende steiner i en retning, vinner. Denne versjonen bruker frie regler: lengre rekker vinner også.

Kan jeg spille Gomoku uten å laste ned noe?

Ja. Brettet og den lokale motstanderen kjøres i nettleseren. Spillet lastes ikke opp eller lagres automatisk.

Må en linje bestå av nøyaktig fem steiner?

Nei. Dette spillet bruker frie regler: fem eller flere steiner på rad vannrett, loddrett eller diagonalt gir seier.

Kan jeg spille Gomoku mot datamaskinen?

Ja. Den lokale datamaskinen ser etter umiddelbare vinner- og blokkeringsmuligheter, og vurderer deretter åpne linjer i nærheten. Det er en enkel motstander, ikke en avansert KI eller turneringssterk spiller.

Kan to spillere spille Gomoku?

Ja. Velg modusen for to spillere for å bytte på å spille på samme enhet. Det finnes ikke nettbasert flerspiller eller automatisk lagring av spillet.