<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: varyform</title><link>https://news.ycombinator.com/user?id=varyform</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Apr 2026 13:21:27 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=varyform" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by varyform in "2048"]]></title><description><![CDATA[
<p>function press(key) {
  var eventObj = document.createEvent("Events");
  eventObj.initEvent("keydown", true, true);
  eventObj.which = key;
  document.dispatchEvent(eventObj);
}<p>for (y=0; y<=1000; y++) {
  press(39); //right
  press(40); //down
  press(37); //left
  press(40); //down
}<p>this gave me 1024 in couple of tries :D
<a href="http://i58.tinypic.com/am9sh4.png" rel="nofollow">http://i58.tinypic.com/am9sh4.png</a></p>
]]></description><pubDate>Tue, 11 Mar 2014 01:47:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=7376925</link><dc:creator>varyform</dc:creator><comments>https://news.ycombinator.com/item?id=7376925</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7376925</guid></item></channel></rss>