{"id":48,"date":"2014-09-14T21:20:39","date_gmt":"2014-09-14T21:20:39","guid":{"rendered":"http:\/\/www.coding-is-fun.com\/?p=48"},"modified":"2014-09-14T21:20:39","modified_gmt":"2014-09-14T21:20:39","slug":"coding-is-fun-politics-less-so","status":"publish","type":"post","link":"https:\/\/www.coding-is-fun.com\/?p=48","title":{"rendered":"Coding is Fun &#8211; politics less so&#8230;"},"content":{"rendered":"<p>So, I decided to do a simple Scratch script today&#8230;<\/p>\n<p>Click on a country, and it will tell you how they say &#8220;Coding is Fun!&#8221;<\/p>\n<p>      <iframe loading=\"lazy\" allowtransparency=\"true\" width=\"485\" height=\"402\" src=\"http:\/\/scratch.mit.edu\/projects\/embed\/26717031\/?autostart=false\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>The script was simple enough &#8211;\u00a0create a tiny mouse-follower sprite that is almost invisible. Use that to detect what <span id=\"c1c391fb-e570-4381-bb82-cc28f002b97d\" class=\"GINGER_SOFTWARE_mark\">colour<\/span> it is in contact with when you click the mouse over the map.<\/p>\n<p>The first map I found at openclipart.org had a couple of problems. The Czech Republic and Slovakia were still Czechoslovakia. Also, Denmark had disappeared&#8230;<\/p>\n<p>So, I started the search again. Found a suitable map &#8211;\u00a0and hoped that Google translate could help me with the languages I have little knowledge of. Apologies to native speakers if my guess at how to say &#8220;Coding is fun&#8221; is way off the mark.<\/p>\n<p>But then, what to do about Cyprus, Belgium, various parts of southern Spain or even Wales?<\/p>\n<p>It seemed to be such a good idea at the time&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I decided to do a simple Scratch script today&#8230; Click on a country, and it will tell you how they say &#8220;Coding is Fun!&#8221; The script was simple enough &#8211;\u00a0create a tiny mouse-follower sprite that is almost invisible. Use that to detect what colour it is in contact with when you click the mouse [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":1,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":49,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/49"}],"wp:attachment":[{"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coding-is-fun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}