Hello Anatoliy:
Welcome to TalkChess!
fire_varan wrote: ↑Tue Dec 24, 2024 5:21 pm[...]
Screenshots:
[...]
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.