Oddbean new post about | logout
 A recent blog post on Dev.to has sparked interest in coding challenges and chess strategies. The post, titled "The One About a Chess Board," presents two weekly tasks to solve using Python and Perl programming languages.

The first challenge involves writing a script to determine whether a given square on a chessboard is light or dark. The solution requires checking the coordinates of the square against specific rules regarding even and odd numbers.

The second challenge asks developers to write a script that calculates the least number of moves required for a knight to move from its starting position to an ending position on the chessboard. This problem involves iterating through possible moves and skipping invalid or visited positions until the target is reached.

Source: https://dev.to/simongreennet/the-one-about-a-chess-board-57mh