Introduction
Introduction Statistics Contact Development Disclaimer Help
improve some comments - chess-puzzles - chess puzzle book generator
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit aba286b23210523ed76e012d608c3e09c65e9dad
parent d30b443f23a15ffab12f6a00931d979b9cfab061
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 9 Mar 2025 10:47:03 +0100
improve some comments
Diffstat:
M fen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fen.c b/fen.c
@@ -786,7 +786,7 @@ isincheck(struct board *b, int side)
}
/* copy the board state and try the piece move, see if the piece wouldn't put
- the ourself in check */
+ ourself in check */
int
trypiecemove(struct board *b, int side, int piece,
int x1, int y1, int x2, int y2, int px, int py)
@@ -1164,7 +1164,7 @@ board_playmoves(struct board *b, const char *moves)
s += 2;
promote = 0;
- /* is a valid piece? should be queen, rook, bishop, knight (no…
+ /* is a valid piece? should be queen, rook, bishop, knight */
if (isvalidpiece(*s)) {
if (side == 'w')
promote = TOUPPER(*s);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.