Page 1 of 1

Qt Go Board

Posted: Fri Apr 08, 2016 11:36 pm
by Hane
Qt Go Board
Graphical Go Board in Qt and C++ with GTP support

Source Code and Windows Binary :
https://github.com/Mezoka/Board
A01.png
A01.png (39.27 KiB) Viewed 5400 times
Usage Examples

board file.sgf (or drag file to the program)

board -black "C:\GNU Go 3.8\gnugo" "--mode gtp --level 16" -size 19 -komi 7.5

board -white "C:\Fuego 1.1.4\fuego.exe" -size 13 -komi 7.5

board -white "C:\Pachi 11\pachi.exe" "-f book.dat -t =100000 threads=1,pondering=0" -size 13 -komi 7.5

board -white "C:\Pachi 11\pachi.exe" "-d 0 -f book.dat -t =100000 threads=1,pondering=0" -size 13 -komi 7.5

board -white "C:\MoGo\mogo.exe" "--13 --time 24 --nbThreads 1" -size 13 -komi 7.5

board -black "C:\GNU Go 3.6\gnugo.exe" "--mode gtp" -white "C:\GNU Go 3.8\gnugo" "--mode gtp --level 16" -size 13 -komi 7.5

board -black "C:\MoGo\mogo.exe" "--13 --time 24 --nbThreads 1" -white "C:\Pachi 11\pachi.exe" "-f book.dat -t =100000 threads=1,pondering=0" -size 13 -komi 7.5

board -black "C:\Fuego 1.1.4\fuego.exe" -white "C:\Pachi 11\pachi.exe" "-f book.dat -t =100000 threads=1,pondering=0" -size 13 -komi 7.5

board -black "C:\Fuego 1.1.4\fuego.exe" "--config fuegoconf.cfg" -white "C:\Pachi 11\pachi.exe" "-f book.dat -t =100000 threads=1,pondering=0" -size 13 -komi 7.5

Key Controls

Next - Right or Down or Wheel Down

Back - Left or Up or Wheel Up

Next 10 - Page Down

Back 10 - Page Up

Start - Home

End - End

Board Label - Space

Undo - Left or Up or Wheel Up

Test Play - Left Click

Test Restore - Esc

Pass - P

Save - S (001.SGF)
A02.png
A02.png (64.06 KiB) Viewed 5400 times
A03.png
A03.png (66.41 KiB) Viewed 5400 times

Re: Qt Go Board

Posted: Thu Apr 21, 2016 8:39 am
by Sneegurd
BTW, in your batch files, put:
start "" /b
...before board.exe and the cmd box will do the call and instantly disappear.

Re: Qt Go Board

Posted: Fri Apr 22, 2016 4:39 am
by Sneegurd
Hi Hane, so if I let 2 engines play. Now one of them resigns, how do I see the result except in that gtp log... can I export an sgf somehow?
EDIT: Oh. "s".

Re: Qt Go Board

Posted: Fri Apr 22, 2016 5:21 am
by Sneegurd
- Observation: Pachi resigned, but the sgf does not list the game result
- An option for auto save + quit would be good, this way we could make it bulk play inside a for loop

Re: Qt Go Board

Posted: Fri Apr 22, 2016 6:44 am
by Hane
Sneegurd wrote:- Observation: Pachi resigned, but the sgf does not list the game result
- An option for auto save + quit would be good, this way we could make it bulk play inside a for loop
you have to manually edit the sgf file to show the result.

right now this program is only a demo rather than a full functions software,
so you will find that many options are missing!

to play in loops you can use script like twogtp