{"id":46,"date":"2009-01-16T12:51:32","date_gmt":"2009-01-16T07:21:32","guid":{"rendered":"http:\/\/www.sanchitkarve.com\/blog\/?p=46"},"modified":"2009-01-16T12:51:32","modified_gmt":"2009-01-16T07:21:32","slug":"does-minesweeper-cheat","status":"publish","type":"post","link":"https:\/\/www.sanchitkarve.com\/blog\/2009\/01\/16\/does-minesweeper-cheat\/","title":{"rendered":"Does Minesweeper Cheat?"},"content":{"rendered":"<p>I&#8217;ve come across a few people who believe that minesweeper lays down only half the number of bombs and only adds the other half on the board as the game progresses.<\/p>\n<p>I debugged the game myself and have found that it is completely false. However, the game ensures that you don&#8217;t click a bomb on the first click. Hence, if the first click is a bomb, <strong>it is removed from the grid and placed at the first empty location from the coordinate (0,0) i.e. the top-left location<\/strong>.<\/p>\n<p>Hence, if you clicked on (3,2) which originally had a bomb, it would be removed from (3,2) and placed at (0,0) if that location were empty.<\/p>\n<p>This can also be verified without using a debugger. Use the xyzzy cheat to enable the white pixel at the top-left corner of the screen. Then, find a location which contains a bomb (ie. black pixel at top-left corner of the screen) but don&#8217;t click it. Now, move your cursor to the top-left corner of the screen and check if it has a bomb.<\/p>\n<p>Now click on the previous location which had a bomb and you&#8217;ll notice that there isn&#8217;t a bomb once you click it. Then move your cursor to the top-left corner of the board and you&#8217;ll notice that the bomb has been shifted to the top-left location.<\/p>\n<p>Minesweeper cheats FOR you and not against you to ensure that you can start the game without clicking a bomb everytime.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve come across a few people who believe that minesweeper lays down only half the number of bombs and only adds the other half on the board as the game progresses. I debugged the game myself and have found that it is completely false. However, the game ensures that you don&#8217;t click a bomb on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[42,86,58],"_links":{"self":[{"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":0,"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sanchitkarve.com\/blog\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}