News for hackers. Stuff that matters.
Re:Analog Chess – pieces are not constrained to a grid by Shared404 on Friday January 13, 2023 @01:07PM (#34371522)
Saw en passant so googled it...

holy hell.

Re:Analog Chess – pieces are not constrained to a grid by function_seven on Friday January 13, 2023 @01:21PM (#34371739)
One modification to this game I'd like to make is adding the missing knook piece.

But sadly I don't think I'm up for it: Do not expect the code to be stable under any modifications, but you can try if you want I guess.

Re:Analog Chess – pieces are not constrained to a grid by Shared404 on Friday January 13, 2023 @01:26PM (#34371812)
Build the board out of bricks and it's both stable amd you get easy access for bricking online!
Re:Analog Chess – pieces are not constrained to a grid by newaccount74 on Friday January 13, 2023 @05:21PM (#34374722)
What's a knook? A mix between knight and rook? How would it work?
Re:Analog Chess – pieces are not constrained to a grid by function_seven on Friday January 13, 2023 @10:37PM (#34377172)
Yup. It’s a piece that can move anywhere a knight or a rook could move. Invented (I think?) by /r/AnarchyChess
Re:Analog Chess – pieces are not constrained to a grid by schindlabua on Friday January 13, 2023 @11:47PM (#34377458)
I've known this as the "Empress", a fairy chess piece.
Re:Analog Chess – pieces are not constrained to a grid by np_tedious on Saturday January 14, 2023 @05:35AM (#34379120)
That sounds more like queen + knight
Re:Analog Chess – pieces are not constrained to a grid by coeneedell on Friday January 13, 2023 @05:53PM (#34375033)
Looking at the code adding another piece should be doable since I don’t think any pieces call other pieces attributes, and the pieces at game start are just objects in a list…
Re:Analog Chess – pieces are not constrained to a grid by ehulinsky on Saturday January 14, 2023 @02:05AM (#34377981)
Adding the knook would be pretty simple actually. I'd just need to combine the code for the rook and the knight and then make a function to snap the mouse position to the right closest point on the crosshair shape.
Re:Analog Chess – pieces are not constrained to a grid by tspike on Friday January 13, 2023 @01:20PM (#34371722)
It’s pretty fun surprising someone who is not familiar with it, in a sadistic sort of way.
Re:Analog Chess – pieces are not constrained to a grid by qsort on Friday January 13, 2023 @01:30PM (#34371880)
Also true for some other little rules people often forget, like underpromotion, castling through/out of check, stalemate, perpetual, 50 moves, etc.

Plus the general topic of how to use clocks.

Chess is so popular that most people first learn to play from parents, relatives, etc., so they might not have learned the full rules if they aren't interested in learning the game more seriously.

Re:Analog Chess – pieces are not constrained to a grid by unsafecast on Friday January 13, 2023 @02:23PM (#34372595)
You say underpromotion, but something people are surprised by is making a second queen ime. People sometimes assume promotion is actually "taking a captured piece back".
Re:Analog Chess – pieces are not constrained to a grid by SamPatt on Friday January 13, 2023 @09:01PM (#34376584)
Very understandable how this developed in the era of over the board play. You can't have two queens when they don't physically exist!

I always use an upside down rook, somehow there's always one available by then.

Re:Analog Chess – pieces are not constrained to a grid by unsafecast on Saturday January 14, 2023 @04:10AM (#34378669)
I end up using a checkers piece, since pretty much every board I've played on has them.
Re:Analog Chess – pieces are not constrained to a grid by ssl-3 on Friday January 13, 2023 @01:30PM (#34371872)
It used to be a potential invitation for a fist-fight before we had pocket computers with which the aggrieved (and unaware) player could verify the move's legality.
Re:Analog Chess – pieces are not constrained to a grid by Shared404 on Friday January 13, 2023 @01:26PM (#34371803)
This is true.

I've taken to asking players who are unfamiliar with the game if their familiar with it on occasion, at least ones who I expect will be more frustrated than amused.

Re:Analog Chess – pieces are not constrained to a grid by SamPatt on Friday January 13, 2023 @09:04PM (#34376603)
I was playing in our company chess tournament one year and played en passant against an opponent who entered but didn't play much chess.

I swear he thought I was cheating. I had to explain the term and have him Google it.