{"id":212,"date":"2006-01-23T08:53:22","date_gmt":"2006-01-23T14:53:22","guid":{"rendered":"http:\/\/blog.codedread.com\/?p=212"},"modified":"2006-01-23T08:53:22","modified_gmt":"2006-01-23T14:53:22","slug":"svg-time-waster-worms","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2006\/01\/23\/svg-time-waster-worms\/","title":{"rendered":"SVG Time Waster: Worms"},"content":{"rendered":"<p>I came across <a href=\"http:\/\/www.planetb.ca\/archive\/2005_12_01_planet-b_archive.html\" title=\"PlanetB\">Jamie's blog<\/a> after he left a comment on my <a href=\"http:\/\/blog.codedread.com\/archives\/2006\/01\/18\/svg-time-waster-solitaire\/\">SVG Solitaire<\/a> post.  Apparently he's been a little busy with <a href=\"http:\/\/www.w3.org\/Graphics\/SVG\/\">SVG<\/a> too.  If you've got 10 minutes and the Firefox 1.5 browser, why not go try a game of <a href=\"http:\/\/www.planetb.ca\/archive\/2005_12_01_planet-b_archive.html#113537024266477978\">Worm SVG<\/a>.<\/p>\n<p>Great work!  Feature Requests:<\/p>\n<ol>\n<li>Make it work in IE+ASV.  Keyboard input didn't work for me.<\/li>\n<li>Make 'P' pause the game - useful if someone interrupts you at work, ahem... <\/li>\n<li>Make the worm and dots a little less blocky, more sexy, this is vector graphics after all.  At least make the worm a \"polyline\" and use stroke-linecap=\"round\".  Or maybe a \"path\" so that you only have to change one \"d\" attribute every time you move the worm...<\/li>\n<li>Make it work faster in Opera 9 TP1 (if possible), see polyline\/path idea above<\/li>\n<li>Make a server-side high score tracker (I've been trying to figure out how to do this in a hack-proof way myself)<\/li>\n<\/ol>\n<p>My record (after 3 tries) was 200 points.<\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across Jamie&#8217;s blog after he left a comment on my SVG Solitaire post. Apparently he&#8217;s been a little busy with SVG too. If you&#8217;ve got 10 minutes and the Firefox 1.5 browser, why not go try a game of Worm SVG. Great work! Feature Requests: Make it work in IE+ASV. Keyboard input didn&#8217;t [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,9,25,46,11,28],"tags":[],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-games","category-quicklinks","category-software","category-svg","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}