← Back to all games

Gobang (Gomoku AI)

Browser Gomoku backed by an alpha-beta pruning AI, with several difficulty levels to pick from.

Mouse — click a cross point to place your stone. Open in new tab ↗

Source

lihongxun945/gobang

License

MIT

Stars

★ 1,803

Size

~200KB-1MB

Tech

原生JS · Canvas

Deploy

Static

How to play

Click the board to place stones, black and white alternating; first to five in a row in any direction wins. Multiple AI strength tiers are built in.

Mouse — click a cross point to place your stone.

Integration notes

One of the best-known web Gomoku projects in the Chinese community, with explainable AI moves and tunable difficulty. Add forbidden-move rules and it levels up into a standard competitive edition.

#原生js#canvas#mouse

FAQ

Is Gobang (Gomoku AI) free to play?

Yes. Gobang (Gomoku AI) is completely free, runs in your browser, and needs no install or account.

Is Gobang (Gomoku AI) open source?

Yes. It hosts the original open-source code by lihongxun945, released under MIT. Source: https://github.com/lihongxun945/gobang

How do you play Gobang (Gomoku AI)?

Mouse — click a cross point to place your stone.

More like this