{"id":96,"date":"2012-01-01T14:36:12","date_gmt":"2012-01-01T03:36:12","guid":{"rendered":"http:\/\/juliangamble.com\/blog\/?p=96"},"modified":"2012-01-23T22:14:16","modified_gmt":"2012-01-23T11:14:16","slug":"clojure-gui-demo-of-tetris-via-web-start","status":"publish","type":"post","link":"https:\/\/juliangamble.com\/blog\/2012\/01\/01\/clojure-gui-demo-of-tetris-via-web-start\/","title":{"rendered":"Clojure GUI Demo of Tetris (via Web Start)"},"content":{"rendered":"<p><a href=\"https:\/\/sites.google.com\/site\/juliangamble\/Home\/tetris.jnlp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-167\" title=\"Launch Clojure GUI demo of Tetris\" src=\"http:\/\/juliangamble.com\/blog\/wp-content\/uploads\/2012\/01\/webstartsmall21.gif\" alt=\"Launch Clojure GUI demo of Tetris\" width=\"88\" height=\"34\" \/><\/a><\/p>\n<p>Tetris is an old favourite, that I first played on a friend&#8217;s Nintendo Entertainment system. This version come to us from Alex Yakushev <a href=\"http:\/\/codethat.wordpress.com\/2011\/09\/10\/writing-tetris-in-clojure\/\"> via Clojure. <\/a><\/p>\n<p><a href=\"http:\/\/juliangamble.com\/blog\/wp-content\/uploads\/2012\/01\/tetris.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-97\" title=\"tetris\" src=\"http:\/\/juliangamble.com\/blog\/wp-content\/uploads\/2012\/01\/tetris.png\" alt=\"Screenshot of the Clojure GUI demo of tetris\" width=\"358\" height=\"436\" \/><\/a><\/p>\n<p>You can play it via the following Web Start <a href=\"https:\/\/sites.google.com\/site\/juliangamble\/Home\/tetris.jnlp?attredirects=0&amp;d=1\">link<\/a>. You can see the code on github <a href=\"https:\/\/github.com\/juliangamble\/clojure-tetris\">here<\/a>.<\/p>\n<p>The game was originally written by <a href=\"http:\/\/en.wikipedia.org\/wiki\/Alexey_Pajitnov\">Alexey Pajitnov<\/a> when working for the Soviet Government. He named it after the Greek word tetra, meaning four, and his favourite game tennis.<\/p>\n<p>The great thing about Alex Y&#8217;s writing style is that he puts heaps of effort into sequentially explaining what he is trying to say. You can see more of this when he talks about <a href=\"http:\/\/codethat.wordpress.com\/2011\/01\/05\/coffee-time-with-java-part-1-and-a-half\/\">sockets in Clojure<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tetris is an old favourite, that I first played on a friend&#8217;s Nintendo Entertainment system. This version come to us from Alex Yakushev via Clojure. You can play it via the following Web Start link. You can see the code &hellip; <a href=\"https:\/\/juliangamble.com\/blog\/2012\/01\/01\/clojure-gui-demo-of-tetris-via-web-start\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-clojure"],"_links":{"self":[{"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":6,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/juliangamble.com\/blog\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}