My old Moyo Go blog!

About the development of Moyo Go Studio, software to (help) play the Oriental game of Go. Go is a two-player zero-sum game of perfect information. It is considered much harder than Chess. Currently, in spite of enormous effort expended, no computer program plays it above the level of a beginner.

Thursday, January 04, 2007

Publishing: Annotated diagrams

I'm still working on a good way to distinguish variations.

Added is annotation for published diagrams.

Please note that this is a preview, the currently selling version does not yet include publishing (printing, HTML upload etc.) yet but it soon will (and then a freely downloadable update will get you the extra functionality).

I read on godiscussions.com that when using other software to print Kogo's to PDF that the result is a 6,000-page monster. Not when using the publishing feature of Moyo Go - the example here has 19 diagrams on one standard A4 page and it's very readable. Kogo's is below a thousand pages, when printed with Moyo Go. It's possible even to do it in a few hundred pages only.

Labels:

Tuesday, January 02, 2007

Auto-Cropping Diagrams (Publishing Preview)

Jure Jerkovic asked for this and although it was on my to-do list already, I had forgotten the GUI part. Now it's done.

You can specify how many board edges have to be visible at a minimum, how many empty lines around a position, and the minimum width and height of a position (in board points).

This is one page from Kogo's Joseki Dictionary. A huge (20 MB), 168-page PDF with thousands of diagrams of the entire Kogo's 4-4 Joseki is here, a diagram outputted for every comment.

The diagrams in this example are still crude, but it shows how robust the system is.

Labels:

Thursday, December 28, 2006

Numbered Diagram Stones

http://www.moyogo.com/Kogo/test.htm

The next step is to put annotation in the diagrams.

Labels:

Tuesday, December 26, 2006

Publishing: Numbered Stones

Today I added the option of numbered stones in front of diagrams and comments.

Not having to explain folks on Sensei's Library that I am not a psychopatic killer helped getting this done :-)

Labels:

Monday, December 25, 2006

Publishing Status

The Publishing system is a few weeks delayed due to the professionally coordinated terror attacks of the past month - but here is the final GUI. About 75% of it is connected to actually working, debugged code, the rest still has to be coded.

That 75% is the most complex stuff though, like:

-Printing
-Output to various formats
-Page rendering engine
-Antialiased diagram engine
-HTML upload to website
-PDF output with embedded CJK font
-Custom lines
-Page size selection
-Page range selection

What still has to be done is everything connected to making the actual diagrams look like they should look, and to a few more layout-related issues.

Labels:

Doc Demo (Publishing)

As promised: Proof-of-concept for publishing to MS Word: test.doc

Labels:

Friday, December 22, 2006

Publishing: Page Range Feature

Initially I designed the page-range options to be much more elaborate, offering the choice of publishing from-to certain variation codes and other almost-never-used frills.

To get this done was hard enough - there were some problems with the positioning code when publishing page ranges to HTML.

It's now time to finish the diagram-generation code, which is quite a lot of work but much of it is straightforward, as opposed to bughunting/-fixing of the 3rd party library I use for some of the publishing module.

Labels:

Monday, December 04, 2006

Publishing Progress

A rec.games.go terror-gang member commented recently on the progress report for publishing that showed proper working columnization in any format with dummy diagrams with: "It is clear that you are not a Go player, otherwise your diagrams would have looked better".

:-)

Perhaps when I get older, I will be able to ignore such folk. Are they intentionally evil, or merely stupid?

In any case - rest assured that Publishing is on track, rec.games.go unsubscribed, and I'm finished translating David Mitchell's functional spec into a GUI. He makes a lot of Go diagrams and his wishlist is pretty comprehensive.

Basically, everything imaginable in the diagram should be configurable. It's a kazillion of options that I could barely fit on eight tabs. And I made the dialog box 800x600 to be able to do even that.

David is a Kifu publishing expert, is familiar with most of the the main Go software for publishing/printing and he has made clear what he wants to see in the "perfect" publishing module. It's a multi-page document with multi-page addendums in aswer to my questions. I will do my best to implement as much as I can for a first version, and he will be my beta-tester.

Several days went into designing a GUI that could present the large number of options to the user in the clearest possible way. I had to re-do a lot during the process. The image presented here shows how the user drags & drops items above or below a diagram, like title or move range.

In the "Fonts" section, every part of a Kifu has its own font name, -attributes and text alignment.

What's left is a bunch of coding here & there, mainly fixing some more bugs in the rendering engine and then greatly expanding the "diagram" class I already use to display board positions.

If I want to add variable diagram positioning, I'd also have to do some tricky coding in the rendering engine, so I might leave that until I roll out the first version. Attacks on me on rec.games.go have delayed me for a few days, and the work involved in suing David Windsor for slander and defamation will add to the delay, but I still think I can have a working version before the end of the year.

Labels: