Skip to main content
added 155 characters in body
Source Link
coderodde
  • 31.9k
  • 15
  • 78
  • 204

(This post has now a continuation.)

(This post has now a continuation.)

Became Hot Network Question
added 2 characters in body
Source Link
coderodde
  • 31.9k
  • 15
  • 78
  • 204

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavorendeavour is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.Fnially Finally, the entire GitHub repo is here.

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavor is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.Fnially, the entire GitHub repo is here.

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavour is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns. Finally, the entire GitHub repo is here.

added 83 characters in body
Source Link
coderodde
  • 31.9k
  • 15
  • 78
  • 204

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavor is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.Fnially, the entire GitHub repo is here.

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavor is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.

I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavor is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.Fnially, the entire GitHub repo is here.

Source Link
coderodde
  • 31.9k
  • 15
  • 78
  • 204
Loading