Tsumego

Rating: 
5
Your rating: None Average: 5 (1 vote)

Tsumego allows you to play problems of the Go game, if you have some in SGF file format.

There are various sources for sgf files around.

 

This is an updated version of the original Tsumego by @chimrod. As the sources have vanished I can only update what is in python and QML.

Installing this will uninstall their package.

Screenshots: 

Category:

Application versions: 
AttachmentSizeDate
File openrepos-tsumego-0.2.1-1.armv7hl.rpm219.67 KB18/02/2021 - 17:44
File openrepos-tsumego-0.2.2-1.armv7hl.rpm220.02 KB18/02/2021 - 18:25
File openrepos-tsumego-0.2.3-1.armv7hl.rpm220.13 KB18/02/2021 - 20:34
File openrepos-tsumego-0.2.4-1.armv7hl.rpm229.49 KB19/02/2021 - 20:25
File openrepos-tsumego-0.3.1-1.noarch.rpm225.71 KB26/10/2021 - 17:04
Changelog: 

0.3.1:

  • add SailJail permissions to .desktop
  • build as -noarch package
  • remove binary executable (pure QML + python), thanks @poetaster

0.2.4:

  • add problem selection slider

0.2.3:

  • Orientation fix for GeminiPDA

0.2.2-1:

  • fix centering of Goban board
  • add minimal configuration page

0.2.1-1:

  • renamed app name to openrepos-tsumego
  • added proper possibility to load SGF files through Sailfish Picker dialog
  • revamped UI a little and removed some nonfunctional features
  • app now remembers loaded SGF files and loads them again at start

Comments

tekktonic's picture

Unfortunately the app doesn't work very well. The board state isn't necessarily tracked properly (as in I've had times where hitting "back" skipped moves or undid a move which wasn't last.) The UI is lacking in polish: it's not clearly communicated at all that tapping the turn indicator will step forward towards the solution, the bottom pulley isn't anchored properly, and the I found that the problem selector on the bottom was too small to really comfortably flick through. When going into a subpage such as options you can see the problem counter falsely tick before it's hidden, so going into options on Problem 1 will briefly display Problem 2 on the bottom of the screen. The UI also isn't locked to portrait mode even though it's broken in landscape.

 

On the "go engine" side the responses aren't necessarily consistent. Oftentimes tapping the solution button will skip your first turn; I'm assuming this is a bug since I've never seen a life or death problem for which "Pass and let the opponent set themselves up for failure" is the opening move. On problem 2 tapping Progress To Solution after making the first move will actually lead the game to play itself into a failure. In problem 6 I had to make a move for the opponent even on the correct path, implying that you've made the wrong move and gone off track, but the app just didn't make the move for black. Tapping the "progress towards solution" side skips your move and results in black making a suicidal move in order for you to solve the puzzle rather than trying to connect up to its shape outside.

 

As far as pure polish, aside from fixing the bugs it'd be very helpful to include a delay before the AI makes its move, even a quarter of a second or so. The option for a sound when stones are placed would help as well. I'm not a huge fan of the puzzles included in general. I'm not sure how much of that is the poor overall feeling caused by the go engine, though. Tsumego thankfully lets you load your own collections of problems although I'd appreciate better defaults (I unfortunately don't have a file to suggest, though.)

nephros's picture

Hi, thanks for the thorough review.

It has prompted me to revisit this app again, and I'm working on some of the UI suggestions. E.g. the pulley menu and sound when stones are placed are already updated in the source repo.

I'll try to get the computer action delay in as well.

The "engine" itself I'm not sure I can improve but we'll see.

poetaster's picture

would you consider doing an aarch build? or releasing your sources on github? Thanks!

 

I've bullt a repo at: https://github.com/poetaster/harbour-tsumego

 

Builds work.

nephros's picture

I would, but I can't as I don't have the source :(
I just did some changes to QML and python, the C source has vanished with the original author.
Although I suspect it was a very simple SFOS application, just to launch the QML, so it could possibly be reimplemented.
I don't speak Qt/C++ though so I can not do it.
My version is at:
https://github.com/nephros/openrepos-tsumego-fork

Chimrod's picture

OMG! I didn’t though the game will be used so much years after the initial publication.

I’ve found a backup and restore the initial source at the same location, but do not expect great code, this was a test in order to see how to code with my jolla!

Anyway, the code is back : https://git.chimrod.com/tsumego.git/

 

nephros's picture

Thank you so much!

 

And yeah, there are many great apps buried here in Openrepos, but maintainers losing interest make them driftwood more or less. Which is not an accusation, merely an observation.

 

So, I take it you will not take maintainership of this again? I.e. should I put merge requests / patches towards your git tree, or pull the restored sources and coninue from there?

Chimrod's picture

I think it’s better to give you the full project mainternership. I do not use my jolla anymore, and will not be able to check/test features on a device.

I will update my initial project in order to redirect to yours.

poetaster's picture

The repo I posted above is a pure qt/qml app. As far as I can tell, there is no c++ involved. It's pure python + QML app, I blieve. As far as i an tell it works.

nephros's picture

Thank you! I will look at your changes and release builds for other archs asap!

The original package contains a harbour-tsumego (arm32) binary, I assumed it was necessary but never really checked.