{"id":1860,"date":"2017-03-12T13:01:55","date_gmt":"2017-03-12T18:01:55","guid":{"rendered":"http:\/\/www.laurentlessard.com\/bookproofs\/?p=1860"},"modified":"2017-03-13T00:55:58","modified_gmt":"2017-03-13T05:55:58","slug":"space-race","status":"publish","type":"post","link":"https:\/\/laurentlessard.com\/bookproofs\/space-race\/","title":{"rendered":"Space race"},"content":{"rendered":"<p>This <a href=\"https:\/\/fivethirtyeight.com\/features\/who-will-win-the-space-race\/\">Riddler puzzle<\/a> is about a game involving filling up the space on a square table using coins.<\/p>\n<blockquote><p>Two players are seated at a square table. The first player places a coin on the table, the second places a coin on the table, and they carry on placing coins one after another, with the only condition being that the coins are not allowed to touch. The winner is the person who places the final coin on the table, meaning that he or she fills the last remaining space between the other coins.<\/p>\n<p>The table has to be larger than a single coin, and all the coins placed must be identically sized. If the players play optimally, is one of the two players guaranteed to win? If so, what is the winning strategy?<\/p><\/blockquote>\n<p>Need a hint?<br \/>\n<a href=\"javascript:Solution('soln_spacerace','toggle_spacerace')\" id=\"toggle_spacerace\">[Show Solution]<\/a><\/p>\n<div id=\"soln_spacerace\" style=\"display: none\">\nUse symmetry!<\/p>\n<\/div>\n<p>Here is my solution:<br \/>\n<a href=\"javascript:Solution('soln_spacerace2','toggle_spacerace2')\" id=\"toggle_spacerace2\">[Show Solution]<\/a><\/p>\n<div id=\"soln_spacerace2\" style=\"display: none\">\n<p>It&#8217;s easy to get stuck thinking that this problem has some sort of solution involving the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Pigeonhole_principle\">pigeonhole principle<\/a>; there is this tendency to try and subdivide the table into some sort of grid and argue that only so many coins can fit in each cell. This turns out to be very difficult since circles can be tiled in complicated ways. The solution to this problem turns out to be much much simpler.<\/p>\n<p>Let&#8217;s call the players Alice (first player) and Bob (second player). Alice always wins, and the strategy is as follows: Alice places her coin in the center of the table. Then, no matter what Bob does, Alice responds by placing a coin radially opposite to the coin that Bob placed, and at an equal distance to the center. Whenever it&#8217;s Bob&#8217;s turn to play, the board is in a symmetric arrangement of coins. So for every spot Bob can place a coin, there is an identical open spot opposite it where Alice can play her response. Eventually, Bob has no space left to play and Alice wins!<\/p>\n<p>Here is a simulation showing Alice (magenta) and Bob (blue) that illustrates how the game could play out assuming optimal play from Alice and random play from Bob. (board size is 10&#215;10 and coins have a diameter of 1).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2017\/03\/spacerace.gif\" alt=\"\" width=\"440\" height=\"440\" class=\"aligncenter size-full wp-image-1867\" \/><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This Riddler puzzle is about a game involving filling up the space on a square table using coins. Two players are seated at a square table. The first player places a coin on the table, the second places a coin on the table, and they carry on placing coins one after another, with the only &hellip; <a href=\"https:\/\/laurentlessard.com\/bookproofs\/space-race\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Space race&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1867,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[29,23,2,14],"class_list":["post-1860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-riddler","tag-classics","tag-logic","tag-riddler","tag-symmetry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/1860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/comments?post=1860"}],"version-history":[{"count":9,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/1860\/revisions"}],"predecessor-version":[{"id":1870,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/1860\/revisions\/1870"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media\/1867"}],"wp:attachment":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media?parent=1860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/categories?post=1860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/tags?post=1860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}