It is currently Tue Apr 30, 2024 9:44 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
Offline
 Post subject: Qt Go Board
Post #1 Posted: Fri Apr 08, 2016 11:36 pm 
Dies in gote

Posts: 23
Liked others: 1
Was liked: 9
Qt Go Board
Graphical Go Board in Qt and C++ with GTP support

Source Code and Windows Binary :
https://github.com/Mezoka/Board

Attachment:
A01.png
A01.png [ 39.27 KiB | Viewed 4221 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)

Attachment:
A02.png
A02.png [ 64.06 KiB | Viewed 4221 times ]


Attachment:
A03.png
A03.png [ 66.41 KiB | Viewed 4221 times ]


This post by Hane was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Qt Go Board
Post #2 Posted: Thu Apr 21, 2016 8:39 am 
Lives with ko

Posts: 129
Liked others: 20
Was liked: 17
BTW, in your batch files, put:
start "" /b
...before board.exe and the cmd box will do the call and instantly disappear.

Top
 Profile  
 
Offline
 Post subject: Re: Qt Go Board
Post #3 Posted: Fri Apr 22, 2016 4:39 am 
Lives with ko

Posts: 129
Liked others: 20
Was liked: 17
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".

Top
 Profile  
 
Offline
 Post subject: Re: Qt Go Board
Post #4 Posted: Fri Apr 22, 2016 5:21 am 
Lives with ko

Posts: 129
Liked others: 20
Was liked: 17
- 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

Top
 Profile  
 
Offline
 Post subject: Re: Qt Go Board
Post #5 Posted: Fri Apr 22, 2016 6:44 am 
Dies in gote

Posts: 23
Liked others: 1
Was liked: 9
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

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group