Subscribe to
Posts
Comments
NSLog(); Header Image

Winning at Nim

If the idea is to create a nim sum of 0 as this article proposes, then I've yet to find a way to win at this game of Nim.

D'oh. Once I figured out that I could make Marvin go first I won the first time. The nim sum is already 0 when you start the game, so you have to make Marvin upset the balance right away:

111 = 7
101 = 5
011 = 3
001 = 1
---
224

Comments RSS

Leave a Reply


Warning: Undefined variable $user_ID in /var/www/vhosts/nslog.com/httpsdocs/wp-content/themes/nslog/comments.php on line 96

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.