Personal Journals about Hang Gliding

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Chris McKeon » Sun Nov 21, 2021 7:02 pm

Horse 1 to Bishop 3
Chris McKeon
User avatar
Contributor
Contributor
 
Posts: 1562
Joined: Wed Jul 31, 2013 7:46 pm

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Bob Kuczewski » Sun Nov 21, 2021 9:51 pm

Chris McKeon wrote:Horse 1 to Bishop 3

Which Horse? King Horse or Queen Horse?
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8371
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Bob Kuczewski » Mon Nov 22, 2021 9:37 pm

By the way, I found another potentially useful notation that's used to describe a chess game. It's called "Forsyth–Edwards Notation" or "FEN", and it's described on Wikipedia at this link:

     https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation

Here's most of that article:

Wikipedia wrote:Forsyth–Edwards Notation

Forsyth–Edwards Notation (FEN) is a standard notation for describing a particular board position of a chess game. The purpose of FEN is to provide all the necessary information to restart a game from a particular position.

FEN is based on a system developed by Scottish newspaper journalist David Forsyth. Forsyth's system became popular in the 19th century; Steven J. Edwards extended it to support use by computers. FEN is defined in the "Portable Game Notation Specification and Implementation Guide". In the Portable Game Notation for chess games, FEN is used to define initial positions other than the standard one. FEN does not provide sufficient information to decide whether a draw by threefold repetition may be legally claimed or a draw offer may be accepted; for that, a different format such as Extended Position Description is needed.

Definition

A FEN "record" defines a particular game position, all in one text line and using only the ASCII character set. A text file with only FEN data records should have the file extension ".fen".

A FEN record contains six fields. The separator between fields is a space. The fields are:

  1. Piece placement (from White's perspective). Each rank is described, starting with rank 8 and ending with rank 1; within each rank, the contents of each square are described from file "a" through file "h". Following the Standard Algebraic Notation (SAN), each piece is identified by a single letter taken from the standard English names (pawn = "P", knight = "N", bishop = "B", rook = "R", queen = "Q" and king = "K"). White pieces are designated using upper-case letters ("PNBRQK") while black pieces use lowercase ("pnbrqk"). Empty squares are noted using digits 1 through 8 (the number of empty squares), and "/" separates ranks.
  2. Active color. "w" means White moves next, "b" means Black moves next.
  3. Castling availability. If neither side can castle, this is "-". Otherwise, this has one or more letters: "K" (White can castle kingside), "Q" (White can castle queenside), "k" (Black can castle kingside), and/or "q" (Black can castle queenside). A move that temporarily prevents castling does not negate this notation.
  4. En passant target square in algebraic notation. If there's no en passant target square, this is "-". If a pawn has just made a two-square move, this is the position "behind" the pawn. This is recorded regardless of whether there is a pawn in position to make an en passant capture.[6]
  5. Halfmove clock: The number of halfmoves since the last capture or pawn advance, used for the fifty-move rule.[7]
  6. Fullmove number: The number of the full move. It starts at 1, and is incremented after Black's move.

Examples:

The following example is from the FEN specification:[8]

Here's the FEN for the starting position:

    rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

And after the move 1.e4:

    rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1

And then after 1...c5:

    rnbqkbnr/pp1ppppp/8/2p5/4P3/8/PPPP1PPP/RNBQKBNR w KQkq c6 0 2

And then after 2.Nf3:

    rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2


The FEN specification appears to be used for computer transmission and/or storage of a series of game positions rather than for human exchange. But I think it will be pretty easy to use for posting here on the forum with a few simple adaptations.

Let's start with the actual pieces. To summarize from above:







PieceWhiteBlack
PawnPp
RookRr
KnightNn
BishopBb
QueenQq
KingKk


So that would let us show all of the pieces fairly easily. But the FEN notation uses numbers to specify empty squares, and that's not very easy to visualize. So I am thinking that we could use something else like spaces, dots, dashes, or something similar. The problem with spaces would be that they could be hard to count visually, so it might be better to use something that is visually visible on the screen.

For example, using the FEN designations for pieces along with a dash (-) for empty squares, the current board position (viewed from the black side) would be:

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


Here's what that looks like in our chessboard display code:

 ♖    ♗  ♔  ♕    ♘  ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗         
       ♛  ♙       
                
                
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜  ♞  ♝  ♚    ♝  ♞  ♜ 


That notation might be helpful at some point, so I just wanted to mention it.
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8371
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Craig Muhonen » Tue Nov 23, 2021 12:22 pm

your move.jpg
your move.jpg (827.3 KiB) Viewed 2057 times

My Cat Jake beats me every time
Your Move
====================================================================================================
For those of us that have time on our hands, but we should give Bob a time limit. His "chess match" is with a jury and a judge.

lichess.org is where we can all play each other, and practice too.
Sign in with a screen name and password, it's a great site.

My screen name is BATTSOUTTAHELL

=====================================================================================================
Sometimes you gotta' push the stick forward while you're lookn' at the ground
Craig Muhonen
User avatar
Contributor
Contributor
 
Posts: 933
Joined: Tue Nov 05, 2019 9:58 pm
Location: The Canyons of the Ancients

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Chris McKeon » Tue Nov 23, 2021 4:24 pm

King Horse to Rook Three
Chris McKeon
User avatar
Contributor
Contributor
 
Posts: 1562
Joined: Wed Jul 31, 2013 7:46 pm

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Bob Kuczewski » Tue Nov 23, 2021 11:33 pm

Chris McKeon wrote:King Horse to Rook Three


Thanks Chris!!

Here's what the board looked like (from your perspective) before your move:

 ♖    ♗  ♔  ♕    ♘  ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗         
       ♛  ♙       
                
                
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜  ♞  ♝  ♚    ♝  ♞  ♜ 


Here's what it looks like after your move:

 ♖    ♗  ♔  ♕    ♘  ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗         
       ♛  ♙       
                
 ♞               
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜    ♝  ♚    ♝  ♞  ♜ 


Here's my move: Q1 to Q3

In our simple text notation, the board went from this:

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


to this:

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


Here's the BBCode version from your perspective (with my move in red on some browsers):

 ♖    ♗  ♔      ♘  ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗       
       ♛  ♙       
                
 ♞               
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜    ♝  ♚    ♝  ♞  ♜ 


Taken: ♟
Taken: ♘ ♙


Your move!!
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8371
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Bob Kuczewski » Wed Nov 24, 2021 2:05 am

Craig Muhonen wrote:... we should give Bob a time limit. His "chess match" is with a jury and a judge.

Thanks Craig!! I do have a little time to help out on the forum. But thanks for keeping me mindful of my priorities.
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8371
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Chris McKeon » Thu Nov 25, 2021 6:46 pm

Queen to Queen Three
Chris McKeon
User avatar
Contributor
Contributor
 
Posts: 1562
Joined: Wed Jul 31, 2013 7:46 pm

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Bob Kuczewski » Thu Nov 25, 2021 10:57 pm

Thanks Chris. Here's your move (Queen to Queen Three):

 ♖    ♗  ♔      ♘  ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗  ♕       
         ♙       
                
 ♞      ♛         
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜    ♝  ♚    ♝  ♞  ♜ 


Here's mine (Queen Knight One to Queen Bishop Three):

 ♖    ♗  ♔        ♖ 
 ♙  ♙  ♙      ♙  ♙  ♙ 
       ♗  ♕  ♘     
         ♙       
                
 ♞      ♛         
 ♟  ♟  ♟    ♟  ♟  ♟  ♟ 
 ♜    ♝  ♚    ♝  ♞  ♜ 


Taken: ♟
Taken: ♘ ♙


Your move!!
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8371
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Chess Match: Chris vs Bob, November 20, 2021

Postby Chris McKeon » Fri Nov 26, 2021 1:09 pm

K-R to Q-R 4
Chris McKeon
User avatar
Contributor
Contributor
 
Posts: 1562
Joined: Wed Jul 31, 2013 7:46 pm

PreviousNext
Forum Statistics

Who is online

Users browsing this forum: No registered users and 9 guests

Options

Return to Blog Forum