Category: SmartGo

SmartGo: Mac $0, Windows $19

tl;dr SmartGo for Mac is now free; SmartGo for Windows reduced to $19 (was $39). All-new version of SmartGo for iOS in the works, will come to Mac later. No ETA.

Future of SmartGo Apps

The all-new version of SmartGo for iOS is taking shape. Still no ETA, but getting closer, and I’m excited for how it’s turning out. If you have an iPhone or iPad running iOS 14, and are interested in early testing, let me know.

The new iOS version will replace both SmartGo Player and SmartGo Kifu. It will be free to download, with a subscription for the GoGoD game collection and some functionality; additional problem collections will be available through in-app purchase.

SmartGo for Mac

I plan to bring that same iOS app to the Mac. Catalyst has become much more capable this year, making it easy to bring an iPad app to the Mac. Thus it’s now clear that the current Mac version (built on the old code base) is a dead end, and that it doesn’t make sense to update it any more. I’ve released what is likely the last iteration of that app. While it’s far from perfect, it can still be a useful tool for many until the new Mac app comes along, so I’ve made it a free download. Thanks to GoGoD and goproblems.com for letting me take that step while keeping their game and problem collection in the app; please support them in other ways (e.g. by buying books by John Fairbairn).

SmartGo for Windows

SmartGo for Windows has not been getting frequent updates over the last years, and that will likely not change. My focus is on the iOS and Mac versions of SmartGo. Given that reality, I’ve reduced the price from $39 to $19. The app is getting long in the tooth, but it’s still an indispensable tool for go players on Windows, with 108,000 pro games, 2,000 problems, joseki matching, and more. It may get some updates, but no promises; buy it for what it is and can do today.

Enjoy! And please stay safe until we can play go in person again.

The Right iPad for SmartGo

I often get asked about getting an iPad for SmartGo Kifu and Go Books – which iPad should you get? Here are my recommendations.

iPadOS: My main recommendation is to make sure the iPad you get can run the current version of iOS (now iPadOS). Yes, SmartGo can also run on some older versions of iOS, but it’s no secret that I’m working on an all-new version of SmartGo, and that one will require iOS 13 when it’s released. (No ETA yet.) iPads are long-lived, so you want to future-proof your purchase: at https://en.wikipedia.org/wiki/IPad#History, you can see which iPads support the latest iPadOS.

Cost: Ten years ago, the original iPad started at $499. The newest iPad is now available for only $249 at Amazon ($329 from Apple). The iPad Pro is pricier, starting at $799. Note that Apple also has refurbished iPads.

Size: The regular 9.7″ iPad was a great size, and the newest version features a 10.2″ screen. The 10.5″ iPad Air and the 11″ iPad Pro give you more screen without adding much size or weight. The screen on the 12.9″ iPad Pro is magnificent, but it’s not quite as portable as the smaller ones. With the 7.9″ iPad mini you pay more to get a smaller screen; I’d only recommend that one if portability is paramount.

Storage: 32 GB is fine for SmartGo, no need to get more. There are many other reasons to get more storage, e.g. for photos and videos, or movies for long flights, but go games and books are small and won’t impact your storage. (Can’t recommend old iPads with 16 GB, as a significant part of that is used by the system.)

Speed: For SmartGo Kifu and Go Books, speed is not currently a major factor, but I hope to take more advantage of processing power in future versions. There are apps that are based on Leela Zero or KataGo that will use all the processing power that you can give them. If that’s important to you, look at the processor: the 2018 iPad Pro with an A12X will be fastest, followed by the 2019 iPad Air (A12) and the regular 2018 iPad (A10). Note that the iPad Pro is likely due for a refresh this year.

Accessories: No accessories are needed for SmartGo. But if you want the iPad to take over more of the functions of your PC, you may want to add a keyboard cover. The newest iPad supports the Smart Keyboard, but that one requires you to perform origami each time you set it up, while the keyboard on the iPad Pro is a snap to set up. All the newest iPads support the Pencil, but the Pencil for the iPad Pro attaches and charges magnetically, which makes using it much more convenient. So if these are important, I’d recommend an iPad Pro, as it’s a significant improvement, but the difference in price is also very significant.

Hope this helps you decide on the right iPad for you. The newest iPad at $249 is a steal, and will easily pay for itself thanks to Go Books.

Using Strong Go Programs on Macintosh

SmartGo for Mac is not playing strongly, as computer play is using my own pre-AlphaGo engine. However, like SmartGo for Windows, you can use GTP (Go Text Protocol) to connect to strong engines to play against.

The most recent version of SmartGo for Macintosh (0.8.18) includes some improvements in how it handles GTP engines. It’s not perfect, there’s much more to be done, but hopefully it will tide you over while I keep my focus on the new SmartGo for iOS.

The first step is downloading and installing the computer go engines you want to connect to. Here are three I’ve tested with SmartGo for Mac, from easy to hard to install. All assume that you’re somewhat comfortable using the Terminal app; check out this iMore guide if you’re new to the command line.

Pachi

The easiest way to install Pachi on the Mac is using Homebrew (which you probably have to install first). Follow these instructions:

https://brewinstall.org/Install-pachi-on-Mac-with-Brew/

Leela Zero

Find Leela Zero on Github, scroll down to I just want to play with Leela Zero right now, and follow the Homebrew instructions. You’ll also have to download a file with network weights; the link is in that same section.

KataGo

Installing KataGo is more complicated, as you have to compile it yourself. Follow the instructions for Linux at https://github.com/lightvector/KataGo.

smartgo-mac-gtp-preferences

Setting Parameters

Once you’ve installed an engine, you need to add it to SmartGo. Choose SmartGo > Preferences in the menu and click on GTP. Then click on the + icon and navigate to the executable of the engine you want to add. SmartGo uses the engine name to guess reasonable parameters, then tries to run the engine to get its name and version. If you see a green checkmark with the name and version, you’re all set. Otherwise, edit the parameters sent to the GTP engine (the third column in the table). The following basic settings work for my setup:

Leela Zero: -g –playouts 1000 –noponder -w /usr/local/Cellar/leela-zero/0.17/best-network/40b_257a_64k_q

KataGo: gtp -model /Users/anders/work/katago/cpp/models/model.txt.gz -config /Users/anders/work/katago/cpp/configs/gtp_example.cfg

Leela Zero and KataGo take a while to initialize, so even just getting name and version initially can take a minute, and SmartGo may time out. If it does, just try starting a game against the engine anyway (File > New Game, specify the engine in the dropdown for Black or White), and see if it works.

I hope these instructions get you pointed in the right direction. I’m sorry none of this is as easy as it should be.

WWDC 2019

I’ve been experiencing WWDC from home, watching videos, reading documentation, and experimenting with the new APIs. The changes introduced this year are very exciting – Apple is firing on all cylinders. Here are my main takeaways.

Mac Pro

My iMac is 4.5 years old, and I’m looking for a replacement I can keep for many years and expand as needed. The new Mac Pro is perfect. Except for price. Once available, I’ll have to evaluate whether a Mac Pro makes sense, or whether an iMac Pro (now looking much cheaper!) will work just as well for development.

The Pro Display XDR is gorgeous, but way overkill for what I need. I think chances are that the iMac is due for a design refresh soon, and at that point, I would expect Apple to release matching standalone monitors. While hoping and waiting for that, I can get a second Dell P2415Q 24” monitor (just $353 instead of $6000) to tide me over if I go with the Mac Pro.

UIKit on Mac

With Catalyst (a.k.a. Marzipan), Apple allows iPad apps to run on the Mac. I’ve already used it to run my new work-in-progress iOS SmartGo app on the Mac, and so far it looks like a good path forward. I hope to end up with a Mac version of SmartGo that is more capable and more complete than the current one, and that will be easy to keep up-to-date with the iOS version.

SwiftUI

SwiftUI was an amazing surprise, the culmination of years of work behind the scenes at Apple. It makes me very happy that I bet on Swift several years ago, first creating SmartOthello to learn Swift, and now rewriting SmartGo in Swift. I’ve been watching the SwiftUI videos and experimenting with it, and it’s a real game changer: with minimal code, it provides more of the features users expect, and a more native experience on the Mac, all while reducing errors, providing instant previews, and making development more fun. It’s win – win – win.

This WWDC really knocked it out of the park. I’m very excited – so much to learn. Thank you, Apple.

Go Congress 2018, Williamsburg

I enjoyed a fun week at the US Go Congress in Williamsburg, Virginia: a great success in terms of playing go, learning go, meeting old friends and making new ones; a mixed bag in terms of winning tournament games. I definitely did better with a longer time limit:

  • 3 – 3 in the main tournament. Time limit: 1h 30m per player.
  • 1 – 4 in the 55-and-over tournament (40 minutes per player).
  • 1 – 3 in the Die Hard tournament (30 minutes per player).

Clearly a better result than at the European Go Congress last year, where I lost the first seven games. No jet lag certainly helped. My rating before this tournament was 3.07, just barely 3 dan, might drop to 2 dan once the ratings are updated.

I talked to many SmartGo Kifu and Go Books users, and got to answer support questions in person. It’s really valuable to see where people stumble and what they don’t know about – I’ve written a separate blog post on that.

As previously announced, I’m in the process of rewriting SmartGo Kifu in Swift. I demoed a preview of the new version, and got good feedback on design and features. It won’t be ready until 2019 at the earliest, though.

Unfortunately, a family commitment will likely keep me from attending next year’s Go Congress in Madison, Wisconsin. I hope to be at the European Go Congress in Brussels instead.

Atomium