QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Discussion of anything and everything relating to chess playing software and machines.

Moderators: chrisw, Rebel, Ras

fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

I believe XBoard 4.9.1 has some difficulties to be compiled for Windows, so I decided to make my own GUI supporting XBoard protocol (and other protocols too). It is still alpha, so criticism/suggestions are welcome.

Features

* Chess, Xiangqi, Shogi, Mini Shogi and Chu Shogi game boards
* Supports WinBoard, UCI, USI, UCCI and Qianhong protocol engines

TODO:

1. Saving/loading games in the following formats: PGN, WXF, PSN, CSA, KIF
2. Chu Shogi implementation (including Lion moves)
3. En Passant rule in Chess

Sources:

https://github.com/fire-lizard/QBoard

Windows version 0.4 alpha:

https://easyupload.io/r3bpcp

Mac version 0.4 alpha:

https://easyupload.io/gavw3e

Screenshots:

Image
Image
Image

I would welcome criticism and feedback.
User avatar
Ajedrecista
Posts: 2040
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong.

Post by Ajedrecista »

Hello Anatoliy:

Welcome to TalkChess!
fire_varan wrote: Tue Dec 24, 2024 5:21 pm[...]

Screenshots:

Image

[...]

I would welcome criticism and feedback.
I find the right panel for chess a bit counterintuitive. If I understand correctly, the code for pieces is:

Code: Select all

 0 → empty square
 1 → black pawn
 2 → black knight
 3 → black bishop
 4 → black rook
 5 → black queen
 6 → black king
 7 → white pawn
 8 → white knight
 9 → white bishop
10 → white rook
11 → white queen
12 → white king
But the representation of the board is a mirror to the vertical line between files d and e:

Code: Select all

h8 g8 f8 e8 d8 c8 b8 a8
h7 g7 f7 e7 d7 c7 b7 a7
h6 g6 f6 e6 d6 c6 b6 a6
h5 g5 f5 e5 d5 c5 b5 a5
h4 g4 f4 e4 d4 c4 b4 a4
h3 g3 f3 e3 d3 c3 b3 a3
h2 g2 f2 e2 d2 c2 b2 a2
h1 g1 f1 e1 d1 c1 b1 a1
Am I right? Given that 10, 11 and 12 are two characters of length and {0, ..., 9} are one character of length, this makes that some ranks have different lengths and the overall picture is out of balance. What about using the typical KQRBNPkqrbnp and some minimal sign, like · (Shift + 3, the interpunct) for empty squares for making a balanced board, plus showing the original board without mirroring? Something like one of the following options:

Code: Select all

a) Without borders:

r n b q k b · r
p p p · · p p p
· · · · · · · ·
· N · p p · · ·
· · · · n · Q ·
· · · · · · · ·
P P P P · P P P
R · B · K B N R

------------

b) With full borders:

###################
# r n b q k b · r #
# p p p · · p p p #
# · · · · · · · · #
# · N · p p · · · #
# · · · · n · Q · #
# · · · · · · · · #
# P P P P · P P P #
# R · B · K B N R #
###################

------------

c) With discontinuous borders:

# # # # # # # # # #
# r n b q k b · r #
# p p p · · p p p #
# · · · · · · · · #
# · N · p p · · · #
# · · · · n · Q · #
# · · · · · · · · #
# P P P P · P P P #
# R · B · K B N R #
# # # # # # # # # #

------------

d) With algebraic notation borders:

    a b c d e f g h    
                       
8   r n b q k b · r   8
7   p p p · · p p p   7
6   · · · · · · · ·   6
5   · N · p p · · ·   5
4   · · · · n · Q ·   4
3   · · · · · · · ·   3
2   P P P P · P P P   2
1   R · B · K B N R   1
                       
    a b c d e f g h    
Good luck with your project!

Regards from Spain.

Ajedrecista.
fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

First of all, thank you for your feedback.

Anything you see on the right panel is not provided by the application. The purpose of the panel is to provide the output from the selected Chess, Xiqngqi, Shogi or other board game engine. In this particular case it was Pulsar chess engine. (You can choose between concise and full output in the application settings).

Anyway, there's version 0.5.

Windows:

https://easyupload.io/rukzri

Mac:

https://easyupload.io/dultma

TODO next year:

1. Saving and loading games in the following formats: CSA, KIF
2. Loading PGN, WXF, PSN
3. Chu Shogi implementation (including Lion moves)
4. En Passant rule in Chess
5. Large board Shogi variants support: Wa Shogi, Dai Shogi, Tenjiku Shogi

Happy New Year!
fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

Version 0.6 beta:

Fixed bug in PSN generation and added CSA and KIF generation.

Windows:

https://easyupload.io/zoqog7

Mac:

https://easyupload.io/9jd37j

TODO:

1. Loading PGN, WXF, PSN, CSA, KIF
3. Chu Shogi implementation (including Lion moves)
4. En Passant rule in Chess
5. Large board Shogi variants support: Wa Shogi, Dai Shogi, Tenjiku Shogi
fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

Version 0.7 beta

Implemented Chu Shogi rules (except two Lion capture rules), should be playable now
Also, there are many bugfixes

Windows: https://easyupload.io/j33vob
Mac: https://easyupload.io/yicbi0

What's left:

1. Loading PGN, WXF, PSN, CSA, KIF
2. Lion capture rule in Chu Shogi
3. En Passant rule in Chess
4. Large board Shogi variants support: Wa Shogi, Dai Shogi, Tenjiku Shogi
fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

Version 0.8 beta with Judkins Shogi support:

https://easyupload.io/kc8y7b
fire_varan
Posts: 11
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: QBoard GUI for XBoard, UCI, USI, UCCI and Qianhong

Post by fire_varan »

Version 0.8.1 beta with Makruk, Shatranj, Wa Shogi (with and without drops), Dai Shogi support and also a lot of bugfixes:
Many thanks to Vinvin and hgm for advices.

Download here:
https://easyupload.io/9vr9u3

TODO:
1. Loading PGN, WXF, PSN, CSA, KIF
2. Lion capture rule in Chu Shogi
3. En Passant rule in Chess
4. Tenjiku Shogi support
5. Make Kanji pieces more visible