Multiplayer Agent

Four in a Row

Drop discs, block your friend, line up four.

Board & card2DTurn-based2 playersFree

How to play

Take turns dropping a disc into one of seven columns; the first to get four in a line across, down or diagonally wins. The first two players take the seats; anyone else watches and takes the loser's seat next game. Alone? A bot plays the other side.

Changes to ask for

  • Make the board 9 wide and 5 to win
  • Add a 15-second timer for each turn
  • Turn the discs into cookies and the board into an oven tray

Questions

Is Four in a Row free?

Yes. Four in a Row is free to play here and free to start from. Changing it in the Game Builder uses Game Builder credits.

Can I play it alone?

Yes. Bots fill the empty seats, so one person gets the full game. Share the link once it's yours and friends join the same room.

Do I need to know how to code?

No. In the Game Builder you ask for changes in plain words and the builder writes the code. You can still read and edit the code yourself if you want to.

Where is the code?

It's one HTML file, in a public repository on GitHub. Making it yours puts a copy in your own studio, where the changes you ask for are made.

Four in a Row on GitHub

Controls

Click or tap a column (or press 1–7) to drop a disc

What’s built in

  • Host-run rulesThe host's browser checks every drop; if it leaves, the next player takes over.
  • BotsA bot takes any empty seat, so you can play alone, and a friend who joins takes the bot's side.
  • Live syncPlayers and watchers see the same board, and you see your opponent's disc hover before it drops.
  • LeaderboardMost wins, shown after every game.

More starter games

see all 184

Backgammon gameplay

Backgammon

Roll, race home, hit their blots. Double if you dare.

2DTurn-based2 players

Checkers gameplay

Checkers

Jump, chain the jumps, get crowned.

2DTurn-based2 players

Chess gameplay

Chess

Real chess on a 3D board. Illegal moves are refused.

3DTurn-based2 players

Crazy Cards gameplay

Crazy Cards

Match the color or number. Empty your hand first.

2DTurn-based2–6 players

Auto Arena gameplay

Auto Arena

Buy units, place them, watch them fight.

2DVersus2–8 players

Grid Tactics gameplay

Grid Tactics

Tanks, infantry, artillery. Capture their HQ.

2DTurn-based2 players

Hex Empires gameplay

Hex Empires

Claim the island. Build, march, take their castles.

3DTurn-based2–4 players

Lane Clash gameplay

Lane Clash

Play cards, send units, take their towers.

2DVersus2 players