to top

The Knight’s Tour [Animated GIF]

Today I learned that on a chessboard, a knight can visit each square exactly once. Here's how: The animation is actually one way of solving the Knight's Tour, which is a mathematical problem that is commonly given in computer science courses. (However, I don't recall ever giving this problem in my Intro to Java class.) At first glance, viewers may object that the animation is not valid considering that the knight's square of origin is incorrect. However, according to Wikipedia, there are 26,534,728,821,064 different ways (including reversals, reflections and rotations) to do this so that the knight travels in a loop (ie, starting where it began), in which case you could start from any square and then just continue the loop from there. Via Reddit....

Continue reading

Worst Case Scenarios

Lately I have been plagued with awfully vivid nightmares — ones that jolt me from sleep and keep me up the rest of the night. Take the one from a couple of nights ago, for example: J is killed in a horrific accident. At his funeral, his parents and I get into an argument regarding the future of Claire and BebeDeux — they want to raise them in Hong Kong while I want to raise them here in the U.S. As their birth mother, I have legal custodial rights over them and vehemently refuse to raise my children in a country I have never even visited, which results in J's parents ceasing all contact with us. I sell our condo, taking a great financial...

Continue reading