Read UGF, NGF, and GIB files

SmartGo One can now read go games in file formats other than SGF: UGF, NGF, and GIB (with file extensions .ugi, .ngf, and .gib). UGF is popular in Japan, NGF is used by the Korean wBaduk server, and GIB is used by the Korean Tygem server.

SmartGo One will show thumbnails for these files, with the file extension indicated in the lower right corner.

Thumbnails of 4 games in different file formats

Support for these file formats is read-only. If you make changes to the game, it will be saved as SGF, overwriting the imported file. Paste SGF will also accept games in those formats.

Unfortunately, I don’t have the spec for any of these file formats, so the files are interpreted based on reverse engineering as well as comments at Sensei’s Library. I’d love to get more sample files so I can make sure my code handles all the corner cases. And if you run into files that are not handled as well as they could be, please send me a copy at support@smartgo.com. Thanks!

Also, please let me know if I should revive my old code for reading the Ishi (.go) file format. Is anybody still using that one?

Analyze Game

Version 1.3 of SmartGo One adds a much requested feature: analyzing a whole game. I’ve also added a score graph so you can easily see where your game went off the rails. This is a bare-bones first implementation of that feature, will be refined in future versions.

To start a game analysis, tap and hold on the Hint icon, then choose Analyze Game. SmartGo will start with a quick pass through the game, then go back through spending more time on each move. Tap the Hint icon again to stop the analysis.

Analyze game popup
Tap and hold on Hint icon

The score graph shows the score lead for Black or White so you can easily see lead changes. It’s currently using a log scale to better show small changes when the game is close.

Analyze game score graph
Score graph in SmartGo One

You can also have it display the winning percentage. It uses a black or white horizontal line to indicate the projected winner – definitely a minimalist implementation at this point.

Analyze game winrate
Score and winning percentage

You can also tap and hold on the tree view to see the whole score graph (most useful on the iPhone).

Analyze game whole view
Tap and hold on tree view

This version also adds Spanish localization (thanks to Alejandro Montiel), reduces the app size by 200 MB to just 53 MB (by downloading large KataGo models on demand), and fixes some bugs, in particular one where empty text labels were wrongly written out in SGF.

More Useful Hints

Tap on the Hint icon, wait a few seconds, and a dot on the board shows you where KataGo thinks you should play. This minimalist version of Hint is now a thing of the past.

The newest version of SmartGo One makes Hint much more useful:

(1) It can show you multiple top moves that KataGo is considering. It uses the familiar color scheme from Lizzie: teal for the top move, green for other good moves, brown for moves that were considered but are not as good.

Smartgo hint top moves

(2) It can show you the principal expected move sequence.

Smartgo hint sequence

(3) If you like more information density, you can see top move choices and move sequence at the same time.

Smartgo hint both

(4) You can easily switch between these display modes with a long press on the Hint icon.

Smartgo hint menu

(5) You can give KataGo more time: Settings > Computer Play > Time for Hint. If you set it to ‘Unlimited’, tap on the Hint icon again to stop computing.

Smartgo hint time for hint

(6) If you only see part of the board and the best move is off-screen, SmartGo pans the board to bring the best hint move into view.

Smartgo hint pan visible

(7) There’s now a keyboard shortcut for Hint: Cmd-K (think KataGo).

(8) Hint is now available on the toolbar in Replay mode, not just Play.

Enjoy!

Tournament Mode

I just added a new feature to SmartGo One: Tournament Mode. Basically, it turns off all smarts while you’re recording a game, and makes it clearly visible that you’ve turned them off.

Using an iPad or iPhone for game recording is a lot easier than pen and paper: no move number to remember, just tap the screen after each move. But with AI now much stronger than almost all players, even on mobile devices, those features can’t be accessible while recording.

Here’s how Tournament Mode works in SmartGo One:

Start recording: The only way to turn it on is to start recording a new game (in My Files, tap on + at top, then New Game). Enable the Tournament Mode switch, and the top right action changes from an orange ‘Play’ to a green ‘Record’.

Tournament mode new game

During the game: While recording that game, all AI functions as well as joseki matching are disabled. A clearly visible green bar at the top indicates that you’re in recording-only mode.

Tournament mode recording

End recording: When you’re done recording, tap on the popup menu in the lower left of the board, and tap on End Recording. This immediately removes the green bar at the top, and re-enables AI features.

Tournament mode end

If you switch to another game at any time, you’re also taken out of Tournament Mode. Once you’re out of tournament mode, the only way to get back in would be to start a fresh recording with an empty board.

Note that all the features that make SmartGo One so great for game recording are still available. For example, if you missed a pair of moves, you can go back and insert those; if you misplaced a move, tap and hold on that stone, and choose Replace Move.

I hope that Tournament Mode will allow both opponents and tournament organizers to feel confident that SmartGo One is being used for recording only. From the rules of the Dutch Open:

“Recording your game is permitted on a digital device, as long as the screen remains visible for your opponent at all times. And your opponent has to agree with recording the game digitally. If you want to record your game digitally, this will only be allowed on applications vetted in advance by the organization of the tournament, to make sure it does not have AI functionality. Recording your game with a paper kifu is of course permitted.”

These seem like good rules, especially making sure that the screen is visible to the opponent at all times. If that green bar ever disappears, tell your opponent to put the phone away.

Please let me know how this feature works for you, either as a player or a tournament organizer. Any tweaks that would make it better?