News for hackers. Stuff that matters.
Re:Programming a computer for playing chess (1950) [pdf] by WalterBright on Tuesday October 29, 2024 @06:17PM (#41989999)
I read "Chess Skill in Man and Machine" when I was in college.

https://www.amazon.com/Chess-machine-monographs-computer-sci...

It wasn't so much that I was interested in chess, but the book really opened my eyes to how to write computer programs. For example, a 64 bit vector was used for the board, and for each piece type for each location another 64 bit vector was used to specify the legal moves.

I know all this sounds routine today, but I had only the most rudimentary programming skills at the time, and this stuff was fascinating.

I finally gave up on playing chess because instead of thinking about my next move, I'd think about writing a program to calculate the next move. Hence I played pretty badly.

Re:Programming a computer for playing chess (1950) [pdf] by white_beach on Wednesday October 30, 2024 @04:22AM (#41992885)
a 64-bit vector can also be used to cheat at poker