{"id":752,"date":"2017-01-27T01:21:40","date_gmt":"2017-01-27T09:21:40","guid":{"rendered":"http:\/\/www.tranzoa.net\/~alex\/blog\/?p=752"},"modified":"2017-01-27T01:21:40","modified_gmt":"2017-01-27T09:21:40","slug":"taking-the-fun-away-to-be-a-better-person","status":"publish","type":"post","link":"https:\/\/www.tranzoa.net\/~alex\/blog\/?p=752","title":{"rendered":"Taking the fun away to be a better person"},"content":{"rendered":"<p>Twenty some years ago my right hand became frozen around a mouse. It took the left hand to pry the mouse from my &#8230; hand.<\/p>\n<p>Why?<\/p>\n<p>Microsoft Minesweeper.<\/p>\n<p>Too much Minesweeper.<\/p>\n<p>So, on the principle of &#8220;<strong>Never do yourself what a machine can do for you.<\/strong>&#8220;, I wrote a program to play the game. On screen. Mouse clicks and all.<\/p>\n<p>And after watching expert mode being solved in 7 seconds a few times under Win 3.1, Minesweeper became boring and I stopped playing it. (No. The program did not use the cheat mode. It played fair.)<\/p>\n<p>Problem solved.<\/p>\n<p>Fast forward some years.<\/p>\n<p>I wrote a program to solve Spider.<\/p>\n<p>It didn&#8217;t help. I&#8217;ve still spent too much time on that game. But <a href=\"http:\/\/www.tranzoa.net\/alex\/plspider.htm\" target=\"_blank\">the program<\/a> did find only a couple of impossible-to-win games out of 32 thousand dealt. That was informative.<\/p>\n<p>Fast forward some more years.<\/p>\n<p>I wrote a Sudoku program to stop myself from playing that game, uncompelling and bite sized though the game was. It was a fun program and is handy to find impossible and incompletely initialized \/ ambiguous games (e.g. at sudoku.com). But it didn&#8217;t satisfy.<\/p>\n<p>Fast forward to now.<\/p>\n<p>And we have a screen shot from sudo_ku.py playing a game at <a href=\"http:\/\/www.websudoku.com\" target=\"_blank\">www.WebSudoku.com<\/a> :<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tranzoa.net\/alex\/blog\/images\/sudoku_play_00.gif\" alt=\"Playing Sudoku the right way.\" \/><\/p>\n<p>We&#8217;ll see if I keep playing this site&#8217;s game.<\/p>\n<p>Or a hacked old Python Gnome Sudoku program:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tranzoa.net\/alex\/blog\/images\/sudoku_play_01.gif\" alt=\"Playing Gnome Sudoku the right way.\" \/><\/p>\n<p>The program looks at the screen(s), finds boards, solves them, and plays them using mouse clicks and keys to enter the numbers. Though the program is incomplete, it&#8217;s pretty satisfying. Perhaps that&#8217;s why at one point many years ago I said that my job was to automate my job. And perhaps that&#8217;s why I&#8217;m not among the robotic hand-wringers of today. It&#8217;s simply fun to watch machines do what they do best.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twenty some years ago my right hand became frozen around a mouse. It took the left hand to pry the mouse from my &#8230; hand. Why? Microsoft Minesweeper. Too much Minesweeper. So, on the principle of &#8220;Never do yourself what &hellip; <a href=\"https:\/\/www.tranzoa.net\/~alex\/blog\/?p=752\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5,12],"tags":[],"class_list":["post-752","post","type-post","status-publish","format-standard","hentry","category-bloggy-things","category-programing","category-programming"],"_links":{"self":[{"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/posts\/752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=752"}],"version-history":[{"count":7,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/posts\/752\/revisions"}],"predecessor-version":[{"id":759,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=\/wp\/v2\/posts\/752\/revisions\/759"}],"wp:attachment":[{"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tranzoa.net\/~alex\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}