Release note

Little Go 1.3.1 released, and another Ko bug squashed

Posted on: Sun, 22 Jan 2017 15:27 By: patrick

Little Go 1.3.1 has been published a couple of days ago on the App Store. This release contains a single bugfix only - but one that I consider to be very important!

There's more to read after the break. The App Store update notes and the GitHub release page both have a shorter text.

Software Projects
Article Styles

Little Go 1.3.0 released

Posted on: Wed, 14 Sep 2016 11:16 By: patrick

Little Go 1.3.0 has just been published on the App Store. This is a technical and bugfix release whose focus is on updating the project to the iOS 9.3 SDK, and on fixing an evil ko detection bug that might have been responsible for many bug reports that I have received due to the infamous "The computer played an illegal move." alert. Many thanks to Denis Martynov for helping me with identifying this bug. I promised to release the bugfix

[...] as soon as possible, probably next weekend.

This was in June 2015 - over a year ago :-(

To find out about the changes that are in the release, either read the App Store update notes or hop over to the GitHub release page to see the changelog.

Software Projects
Article Styles

Little Go 1.2.0 released

Posted on: Wed, 24 Jun 2015 18:46 By: patrick

Yesterday Little Go 1.2.0 has been published on the App Store. This is a major new feature release that took fully 9 months to complete - in the end the release was dragging out for much longer than intended due to stability issues with the new iPhone 6+ user interface design. Hopefully I nailed all those pesky bugs.

This time I won't bore anyone with a repetition of the changes that are in the release. You can either read the App Store update notes or hop over to the GitHub release page to see the changelog.

Software Projects
Article Styles

Little Go 1.1.2 released

Posted on: Sat, 20 Sep 2014 00:02 By: patrick

Little Go 1.1.2 has just been released to the App Store. This is another bugfix release that contains a couple of fixes for potential crashes (#243, #247), one drawing bug (#245) and one regression (#246).

The harmless seeming drawing bug #245 probably was the root cause for the crashes that so many people experienced in version 1.1.0. The quick&dirty bugfix that I shipped in 1.1.1 (#242) merely turned a crashing bug into a drawing bug, but with the release of 1.1.2 the root cause should now be fixed as well. Since I am not 100% sure, I didn't have the stomach to remove the quick&dirty fix yet.

Software Projects
Article Styles

Little Go 1.1.1 released

Posted on: Sun, 17 Aug 2014 19:45 By: patrick

Little Go 1.1.1 has been released to the App Store yesterday. This version contains an urgent fix for a crash that sometimes occurs while a stone is dragged around the board (#242). The crash was clearly affecting a lot of people because after merely 3 days I had already received over 400 crash reports - almost double the amount of reports that were sent over the last 6 months.

Fortunately, the crash reports clearly showed me where the crash was happening, and why (initializing an NSArray with a nil object). Unfortunately, the actual root cause that leads to the error condition did not became clear, even after several hours of detailed analysis. Due to the urgency of the problem, in the end I had to implement and ship a quick&dirty fix. I am not proud of this, but at least it seems to be effective: Now that the bugfix release is live on the App Store the crash reports have stopped pouring in.

Software Projects
Article Styles

Little Go 1.1.0 released

Posted on: Mon, 11 Aug 2014 03:41 By: patrick

Little Go 1.1.0 has been released to the App Store today. The GitHub issue tracker has a list of all issues that I worked on for 1.1.0, and here is an excerpt of the changelog with the user-visible changes:

  • The app's user interface has been updated to the iOS 7 look & feel (#204).
  • Drawing for Retina displays has been fixed (#205). Many thanks to Eric O. Lebigot for reporting the issue and giving me the necessary KITB to investigate the problem.

In addition to these changes, another two items that are not user-visible turned out to be major time sinks:

  • I decided to adopt Auto Layout as a replacement for manually calculated view frames (#206). After the usual initial learning curve, the real problems that cropped up were always related to the new iOS 7 bar handling (e.g. when to use view controller properties like edgesForExtendedLayout and automaticallyAdjustsScrollViewInsets). In a desperate last minute effort I even wrote my own implementation of a split view controller because I simply could not get UIKit's UISplitViewController to work reliably (issue 236 has the details).
  • In a fit of complete insanity I decided to rewrite the app's board drawing code, with the goal to reduce memory usage when the board is zoomed in (issues 212, issue 214 and issue 215). This took me another month to complete, but the scheme succeeded beautifully - ignoring the memory gobbled up by Fuego, peak memory usage dropped from 170 MB to 67 MB (measuring "dirty size" with the "VM Tracker" instrument). For details check out the Research document, section "Memory usage after adding tiling").

Last but not least, I had a hard time analyzing crash reports. In the 6 months since the 1.0.0 release I received 230 crash reports. Roughly 70% of these seem to originate from the same root cause, which unfortunately I have been unable to pinpoint. A major part of my difficulties was that crash log symbolication provided me with an impossible stack trace, i.e. the last code line in the Little Go source code could not have invoked the UIKit method that was shown by the stack trace. I don't understand the details of the symbolication process, so I can't even guess how something like that is possible (except, of course, a wrong .dSYM file, but I can guarantee that this not the case!). Anyway, very frustrating, and I hope I will find the bug in the next version.

Software Projects
Article Styles

Little Go 1.0.0 released

Posted on: Fri, 10 Jan 2014 15:38 By: patrick

Little Go 1.0.0 has been released to the App Store a couple of days ago. The GitHub issue tracker has a list of all issues that I worked on for 1.0.0, and here is an excerpt of the changelog for the visible features changes:

  • Superko is back (it was disabled in 0.12.0), but simple Ko remains the default. You can select the Ko rule when you start a new game (#169).
  • Little Go now supports area scoring (#30). I implemented this mostly out of necessity because I realized that Fuego does not properly support territory scoring. That's also the reason why area scoring is now the default scoring rule.
  • Accurate scoring is now possible because stones can be marked to be "in seki" during scoring (#190).
  • A little goodie that I wanted to implement for a long time is the display of player influence, aka territory statistics (#18).

These features, however, were not why it took me so long (over 3 months) to finish the 1.0.0 release. Rather it were the things that changed under the hood:

  • Upgrading to Xcode 5 cost me quite a bit of time (and a lot of nerves!) until I realized how I could get back unit tests to run. Initially I also tried to upgrade from OCUnit to XCTest, but had to abandon the effort because I am still using the 6.1 SDK. This Stack Overflow question summarizes my troubles.
  • I completely rewrote the 3rd party software build process to use Git submodules. For this I had to learn about Git submodules in general, and in particular about svn2git so that I could mirror the Fuego Subversion repository with Git. The end result is the fuego-on-ios repository on GitHub, which is intended to provide other people with a base for creating their own Fuego builds for iOS.
  • Last but not least, I decided to upgrade from Fuego 1.1 to the trunk version of the Fuego source code. This gave me a nasty surprise because the trunk version of Fuego uses much more memory in its default configuration than Fuego 1.1 did. So much memory, in fact, that Little Go becomes unusable for iOS devices with 256 MB of memory, and unstable for iOS devices with 512 MB memory. Although I soon found out how to reduce memory usage, a lot of effort went into making sure that Fuego works correctly with this low-memory configuration. The results are published on the Fuego wiki.

Implementing most of these technical changes were not fun, and thus releasing version 1.0.0 has not been an occasion of joy, but rather one of relief. In the end, I must admit, that my motivation was so drained, and I was so weary of the whole thing, that I pushed the release to the App Store without a lot of testing. I hope my users will forgive me for this.

Software Projects
Article Styles

Little Go 0.12.0 released

Posted on: Sun, 15 Sep 2013 22:18 By: patrick

Little Go 0.12.0 has been released to the App Store a couple of days ago. Since I plan to slow down my development activities on the project soon, the overall focus of the release was on improving the usability of Little Go, and less on adding cool new features.

The GitHub issue tracker has a list of all issues that I worked on for 0.12.0, and here is an excerpt of the changelog for the most notable changes:

  • It is now possible to configure the computer player with a threshold how quickly it will resign a game (#133). For instance, it is now possible to tell the computer player to never resign so that the game can be played out to the very end. This also allows beginners to play with a large handicap on a small board (up until now the computer player would always resign immediately when faced with an overwhelming handicap).
  • When an old board position is viewed, the intersection where the next stone will be placed is now marked with the letter "A" (#101). This can be disabled in the "Board position" settings.
  • Changes to the active profile are now immediately applied to the GTP engine (#123). For instance, it is now possible to change the playing strength or the resign behaviour of the computer player without starting a new game.
  • The user interface for changing the dangerous "Max. memory" profile setting is now vastly improved (#153). The maximum value that can be selected for the setting is now limited to a fraction of the device's physical memory, and the amount of physical memory that the device has is also displayed.

Finally, the GTP engine is configured to no longer recognize positional superko (#171). This is a temporary solution to bring the GTP engine's rules into sync with Little Go's rules. Little Go currently does not recognize superko, so this sync'ing fixes the problem that Little Go lets the user make a superko move which is then rejected by the GTP engine. Many thanks to Brid Griffin for emailing me a bug report that helped me with diagnosing this problem! Note that Little Go will officially support superko in 1.0.

Software Projects
Article Styles

Little Go 0.11.0 released

Posted on: Fri, 17 May 2013 21:41 By: patrick

Little Go 0.11.0 has been published on the App Store on April 23 2013, almost 4 weeks ago. For some reason I completely forgot to write this announcement, and I also forgot to update the master and develop branches on GitHub. I just fixed this a few minutes ago...

For iPhone users this new release finally brings the long-awaited zooming feature, making it much easier to place stones on large boards. iPad users can also zoom, but this is of much less value, except maybe for the iPad Mini. It is now also possible to display move numbers and coordinate labels, things I originally planned to implement much sooner, but somehow there was always stuff to code that seemed to be more important. So in the end I am not sure how important these two features really are, but they are at least a nice graphical addition to the UI.

Something of which I am sure that it is very useful is the new ability to export and import .sgf files to/from other apps such as Mail or DropBox. Working on these features prompted me to propose this draft of a UTI specification for the .sgf file format, but so far the announcement on the sgf-std mailing list has not received any responses. Ah well, it's probably not the most important thing in the world ☺.

Software Projects
Article Styles
Subscribe to Release note