{"id":303,"date":"2011-12-17T13:22:47","date_gmt":"2011-12-17T12:22:47","guid":{"rendered":"http:\/\/jimblackler.com\/blog\/?p=303"},"modified":"2011-12-17T13:29:46","modified_gmt":"2011-12-17T12:29:46","slug":"offline-solitaire-an-html5-browser-application-and-chrome-application","status":"publish","type":"post","link":"https:\/\/jimblackler.com\/?p=303","title":{"rendered":"Offline Solitaire, an HTML5 browser application and Chrome application."},"content":{"rendered":"<p><a href=\"http:\/\/jimblackler.com\/blog\/wp-content\/uploads\/2011\/12\/sol.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/jimblackler.com\/blog\/wp-content\/uploads\/2011\/12\/sol.png\" alt=\"\" title=\"Solitaire\" width=\"500\" height=\"347\" class=\"alignright size-full wp-image-306\" srcset=\"https:\/\/jimblackler.com\/wp-content\/uploads\/2011\/12\/sol.png 500w, https:\/\/jimblackler.com\/wp-content\/uploads\/2011\/12\/sol-300x208.png 300w, https:\/\/jimblackler.com\/wp-content\/uploads\/2011\/12\/sol-150x104.png 150w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/ojldfpglenpceffckkjhajofdbpkfgmn\">Click here for the Chrome application<\/a><\/p>\n<p><a href=\"http:\/\/offlinebrowsergames.appspot.com\/index.html\">Click here to play online<\/a><\/p>\n<p>Does the world really need yet another implementation of Solitaire for the browser? Yes, absolutely!<\/p>\n<p><p>When I acquired a Chromebook recently I looked for Solitaire Chrome apps (my gaming tastes aren&#8217;t particularly sophisticated) only to be disappointed by over-presented apps heavy in Flash and Ad-laden.<\/p>\n<p>I just wanted an implementation of regular Klondike Solitaire that matched the simplicity of the old Windows-bundled version. The one played for years by bored office workers worldwide before the internet took over as principal time-wasting activity.<\/p>\n<p>Also I wanted one that would work offline (when user have no internet connection). Solitaire is an ideal activity on the plane or train.<\/p>\n<p>Another motivation was simply that I felt like writing a card game having never developed one before. Also I wanted to understand how feasible the idea of offline browser applications is.<\/p>\n<p>Here it is, a minimal implementation of classic Klondike Solitaire to be played in the browser, developed with HTML5 technology including JavaScript. It&#8217;s also presented as a working Chrome application, that can be installed to Chrome with just two clicks.<\/p>\n<p>It was developed using Eclipse and Chrome Developer Tools. Cards were adapted in Photoshop and Inkscape from public domain and Creative Commons resources.<\/p>\n<p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/ojldfpglenpceffckkjhajofdbpkfgmn\">Click here for the Chrome application<\/a><\/p>\n<p><a href=\"http:\/\/offlinebrowsergames.appspot.com\/index.html\">Click here to play online<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Click here for the Chrome application Click here to play online Does the world really need yet another implementation of Solitaire for the browser? Yes, absolutely! When I acquired a Chromebook recently I looked for Solitaire Chrome apps (my gaming tastes aren&#8217;t particularly sophisticated) only to be disappointed by over-presented apps heavy in Flash and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-303","post","type-post","status-publish","format-standard","hentry","category-web-development"],"_links":{"self":[{"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jimblackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303"}],"version-history":[{"count":11,"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/jimblackler.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/jimblackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jimblackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jimblackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}