Go Game Online with KataNet AI (KataGo Bare Neural Net) – Browser-Based Play and Review Tool

Hello everyone,

I’d like to share a project I’ve been working on related to KataGo AI. I used an existing TensorFlow.js-compatible KataGo bare neural net from this repo. This is a small, early KataGo network adapted for browser use.

To keep the AI strength manageable, the app doesn’t use all the network’s input features, limiting the strength to about 2 dan. A hack was implemented to simulate a weaker level close to GnuGo, around 6 kyu.

On top of this, I built a simple, clean GUI so you can play against the AI or with a friend locally or AI vs AI, directly in your browser—no installation needed.

Here’s what the app offers: https://pazoff.itch.io/go

Screenshot 2025-06-01 at 08-13-02 Go Game Online with KataNet AI by pazoff

AI Opponent (KataNet AI)

  • Play against a KataGo bare neural net with two strength levels:
    • Dan level (~2d) for a serious challenge
    • Kyu level (~6k) for easier, beginner-friendly games

Player vs Player Mode

  • Local multiplayer on the same device.

Full 19x19 Board Using Chinese Rules

  • Standard board with adjustable komi (default 6.5).

SGF Import and Export

  • Load SGF files to review or continue games.
  • Save games in SGF format for later study or sharing.

Game Review Tools

  • Step through moves with easy navigation.
  • “Play From This Position” lets you explore variations.
  • Evaluation graph showing score and winrate changes.
  • Mistake summary highlighting blunders and inaccuracies.

AI Teacher Mode

Screenshot 2025-05-30 at 09-52-36 Go Game - Play against KataNet online

  • Optional real-time feedback during play:
    • Warnings for blunders before committing moves
    • Suggestions for stronger moves
    • Praise for creative or strong plays
  • Adjustable for different skill levels (Beginner, Intermediate, Advanced).

Eval Board

  • Displays AI evaluation of the current position, including estimated score lead and best move suggestions.

Undo and Pass Controls

  • Basic game controls included.

Visual Aids (Toggleable)

  • Highlight critical groups in atari
  • Influence maps for territorial control
  • AI’s top move suggestions during analysis and review

Interface and Accessibility

  • Clean UI with light and dark themes
  • Optional sound effects and background music
  • Fully responsive design for desktop and mobile
  • Keyboard accessible with screen reader support and ARIA labels

Interactive Tutorial

Screenshot 2025-05-26 at 22-50-16 Go Game Online with KataNet AI by pazoff

  • Step-by-step introduction with audio and visuals, ideal for beginners or returning players.
  • Covers all fundamental rules including liberties, capturing, eyes, ko, and more.

Help Section

  • Explains both Go rules and all app features.

I’d appreciate any feedback or suggestions as this is still in active development!

Try it out here: Go Game Online with KataNet AI by pazoff

8 Likes

I had a go, found it fun.

For “learning from the AI” this is a great interface.

The only questionable thing so far was that there were a few times when it said I should rethink the choice, but the move that I’d chosen was marked as “A” - the best alternative move to choose :slight_smile:

1 Like

That probably happened when even the best move have negative score and triggered the threshold(coach) again…

1 Like

I have introduced a fix and that should not happen any more. Thanks for your feedback!

1 Like

In my humble opinion, this is a fantastic resource - thank you so much for putting it together.

The one tiny User Interface quibble I would bring up is - I strongly suggest considering having Background Music OFF as the default rather than having the user’s browser immediately launch music when the site loads. It might be a Western Hemisphere kind of preference, but I know it’s a pet peeve for a lot of internet users. Just a heads up.

5 Likes

Yeah that was loud.

The main improvement would be if the coach would explain why the bad move is bad :wink:

2 Likes

Background Music is now OFF as the default. Thanks for the tip!

2 Likes

That would require to send the board state(or a board screen shot) to LLM (chatGPT) :slight_smile: or a very complicated heuristics. (but it is not impossible, probably would be slow)

I’ve been wanting to do something like this. Make bot accounts on OGS for weak katago networks of various strength for people to play with.
I played your 6k. I won one and lost one as a 10k. I’d like a surrender option for early analysis.

Yep. Nobody has managed to do it yet. Michael redmond said if that happened he’d be out of a job.

3 Likes

Well even humans have difficulties explaining why a bad move is bad, I doubt AIs can do it well soon.

“It’s just bad because it is bad!”

1 Like

I have put some “AI suggested” heuristics …

1 Like

Maybe should explain why the other move is better and not why this one is bad :slight_smile:

1 Like

My comment was tongue in cheek, of course: everyone is wishing AI could explain it’s offered moves.

1 Like

I wish it would show me where AI would have played, after I play my move.

You mean 2 moves ahead?

No, I mean "given that I probably didn’t play the AI’s best move, what was it “in retrospect”.

Maybe use the Undo button?

Yes, its a bit cumbersome though eh

Now it is displayed.

1 Like