Coder Social home page Coder Social logo

jordibc / q5go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bernds/q5go

0.0 2.0 0.0 16.34 MB

A tool for Go players: SGF editor, analysis tool, game database and pattern search tool, IGS client

License: GNU General Public License v2.0

Makefile 7.90% M4 0.23% Shell 3.93% XSLT 0.07% C++ 87.08% C 0.26% QMake 0.52%

q5go's Introduction

q5Go 2.1.1

This is a tool for Go players which performs the following functions:

  • SGF editor
  • Analysis frontend for KataGo, Leela Zero or compatible engines
  • Pattern search and game info search in a database
  • GTP interface
  • IGS client
  • Export to a variety of formats

The basic goal for this program is to provide an everyday SGF editor that is fast, easy and convenient to use and does everything you could want out of such a tool. Some of the more unusual features include a Go diagram exporting function for sites like lifein19x19.com or Sensei's library, as well as SVG vector graphics or slide export. q5go also supports some non-standard Go variants. For beginners, tutorials that explain the rules and basic tactics are included.

This program is based on the old Qt3 version of qGo, but ported to Qt5 and modernized.

screenshot

These are the major user-visible changes in 2.1:

  • A number of crashes in odd situations were fixed (such as analyzing games with komi values like 650, or handling invalid server messages).
  • It is now possible to copy/paste positions in Edit mode.
  • The batch analysis dialog has a new button to enqueue an entire directory of SGF files.
  • Engine games now allow board sizes up to 52.

Version 2.1.1 and 2.1.2 are minor updates to also fix two engine play to accept board sizes up to 52, and to fix a problem with SGF saving in locales that use commas instead of decimal points.

See VERSION_HISTORY for a history of changes.

Overview of features

Analysis mode

q5Go supports not only play against AI engines, but can also connect to KataGo or Leela Zero to use it as an an analysis tool, displaying statistics such as win-rates, scores (when using KataGo), and visit counts, and displaying variations. This is available both for local SGF editing, and for observing on-line games. By middle-clicking or shift-clicking on a displayed variation, it can be added to the game record.

screenshot

There is also a batch analysis mode, where the user can queue a number of SGF files for analysis. Evaluations and variations are added automatically, the variations are presented as diagrams. The file can be observed during analysis.

screenshot screenshot

It is possible to run analysis with multiple engines, or with different komi values. q5go keeps track of these separately and displays multiple evaluation graphs.

screenshot

Export

q5Go allows the user to export board positions as ASCII diagrams suitable for Sensei's Library or the lifein19x19.com forums, or in the SVG vector graphics format which should be suitable for printing. In both cases, the user can select a sub-area of the board to be shown in the export, and it is possible to set a position as the start of move numbering, so that sequences of moves can be shown in the exported diagram.

screenshot

Another option is slide export; this produces images of a fixed size containing both the board and the comments. The user can specify a filename template, saving diagrams can then be automated: at each step, the pattern "%n" in the template is replaced with an incrementing diagram number.

screenshot

SGF diagrams

It is possible to set a game position as the start of a diagram. This is has several use cases:

  • Subdividing a game record into printable diagrams. Figures can be exported to ASCII and SVG, in whole or in part, just like regular board positions.
  • Allowing variations to be shown in a separate board display
  • Neatly organizing engine lines when performing an analysis

Configurable appearance

The look of the board and stones can be configured to suit the user's personal taste. The stones are generated in a shaded 3D look, and both the shape and the lighting can be changed.

screenshot

There are several presets for the wood image, and the user can also supply a custom file.

screenshot

Configurable user interface layout

All optional elements of the board window reside in freely moveable and resizable docks, giving the user flexibility to create exactly the layout they want. These layouts can be saved and restored, and the program tries to restore the correct layout whenever a new window is opened.

screenshot

Beginner tutorials

Choosing "Learn Go" in the greeter window brings up a window with a selection of beginner tutorials, covering topics such as the basic rules, life and death, captures/connections and the opening.

screenshot

Database support

q5go can access a Kombilo database and search it by player name or game event or date. This functions as an alternative file open dialog with preview functionality.

screenshot

q5go also has a pattern search feature similar to Kombilo. However, it does not use Kombilo's file format due to some technical issues which could lead to user confusion. So you need to first create a new DB in each directory using the settings dialog; afterwards you will be able to use pattern search.

screenshot

Go variants

q5go supports rectangular and toroidal boards. Note that the latter can only be saved in a non-standard SGF format since the specification does not allow for it. When playing on a torus, q5go can be configured to show a larger area than the actual board dimensions, duplicating parts of the position for a better overview. Also, the board can be dragged with the middle mouse button.

In addition to that, it is possible to set up a board with some of the intersections removed.

screenshot

The screenshot shows the variant game dialog and a (different) position with both axes set to be toroidal.

Streaming features

It is possible to override window titles in the preferences, which should make it easier to capture them with a tool like OBS. When observing multiple games online, there is the option of showing all the games in a single window with previews in a selection pane.

Compiling

On Linux, make a build subdirectory, enter it, and run

  qmake ../src/q5go.pro PREFIX=/where/you/want/to/install
  make
  make install

If the pandoc tool is installed, this README.md file will be converted to html and installed, and can then be viewed through a menu option.

On Windows, download the Qt tools and import the q5go.pro project file into Qt Creator.

q5go's People

Contributors

bernds avatar missdeer avatar alserkli avatar apetresc avatar bcable avatar jordibc avatar trevoke avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.