"Even though far from elegant, this algorithm produces signifincantly better results than random firing. It is, however, a long way from efficient as it has no concept of what constitutes a ship, and blindly needs to walk around all surrounding edges of every hit pixel." Nick Berry's totally nerdy, totally fascinating look at the mathematical mechanics of the game Battleship. Via (no surprise) It's Okay To be Smart.
↧