{"id":3440,"date":"2010-03-28T18:08:58","date_gmt":"2010-03-28T23:08:58","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=3440"},"modified":"2010-03-28T18:08:58","modified_gmt":"2010-03-28T23:08:58","slug":"memory-game-with-a-twist","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=3440","title":{"rendered":"Memory game, with a twist"},"content":{"rendered":"<p>In the Memory game, you are shown a rectangular grid of cards, all face down.   On the face of each card (the side you can&#8217;t see), is a picture.  For any given picture, a pair cards will have that picture on its face &#8212; so for every card there is a matching card.<\/p>\n<p>You play the game by turning up two cards at a time.  If those two cards have the same picture, then you get to keep the cards.  Otherwise, you have to turn them both face down, and try again.  It&#8217;s really a test of memory (hence the name of the game) &#8212; if you can remember which card was which, you can win the game quickly.  Otherwise, it can take a long time to finish.<\/p>\n<p><a href=http:\/\/mrl.nyu.edu\/~perlin\/puzzle\/puzzle.html target=1>Here is a simple version of the game that I&#8217;ve implemented as a Java applet<\/a>, to give you the idea.<\/p>\n<p>My friend Van Chung, who is a very accomplished Java programmer and amateur mathematician &#8212; and who also happens to be twelve years old &#8212; came up with a wonderfully fiendish variation of the Memory game.  He calls it &#8220;the Memory game with a twist.&#8221;  It&#8217;s a lot sneakier than the original version (be warned).  I liked it so much that I reimplemented it.  <a href=http:\/\/mrl.nyu.edu\/~perlin\/puzzle\/puzzle1.html target=1>Here is my reimplementation of Van&#8217;s twisted Memory game<\/a>.<\/p>\n<p>To me the most interesting thing about this is the way that games can inspire other games, just as stories can inspire other stories.  Van took a fairly prosaic game, added his own very clever variation, and came up with something far more interesting.  And, arguably, more profound. For whereas the original Memory game is a kind of meditation on permanence, Van&#8217;s variation is a meditation on impermanence.<\/p>\n<p>I was so impressed by this that I then created my own variation of Van&#8217;s variation, which took his idea even further.  But I&#8217;ll get to that the day after tomorrow.  Meanwhile, I&#8217;ll give you a chance to play with (and hopefully to solve) Van&#8217;s version of the Memory game.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Memory game, you are shown a rectangular grid of cards, all face down. On the face of each card (the side you can&#8217;t see), is a picture. For any given picture, a pair cards will have that picture on its face &#8212; so for every card there is a matching card. You play &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=3440\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Memory game, with a twist&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/3440"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3440"}],"version-history":[{"count":1,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/3440\/revisions"}],"predecessor-version":[{"id":3441,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/3440\/revisions\/3441"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3440"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}