{"id":80,"date":"2019-10-08T05:33:05","date_gmt":"2019-10-08T09:33:05","guid":{"rendered":"https:\/\/synetech.ddns.net\/blogs\/synetech\/?p=80"},"modified":"2020-05-15T17:07:31","modified_gmt":"2020-05-15T21:07:31","slug":"pong","status":"publish","type":"post","link":"https:\/\/synetech.ddns.net\/blogs\/synetech\/pong\/","title":{"rendered":"AutoHotkey Pong"},"content":{"rendered":"<h2>PongAHK<\/h2>\n<p>This is the classic game of <em>Pong<\/em>, implemented in AutoHotkey.<\/p>\n<h2>Usage<\/h2>\n<p>Controls:<\/p>\n<pre>\r\nPlayer 1: <kbd>W<\/kbd> , <kbd>S<\/kbd>\r\nPlayer 2: <kbd>\u2191<\/kbd> , <kbd>\u2193<\/kbd>\r\nQuit    : <kbd>Escape<\/kbd>\r\n<\/pre>\n<h2>Download<\/h2>\n<p><a href=\"\/synetech\/PongAHK.7z\">PongAHK.7z<\/a><\/p>\n<h2>Background<\/h2>\n<p>In 2014, I got stuck playing <em>League of Angels<\/em> for much, much longer than I was planning. I figured I&#8217;d try it for a few minutes and ended up playing for about 1.5 years. \ud83e\udd26 In March, they had a St. Patrick&#8217;s Day event in which they gave away the Iron Wings for free. However, I missed it because I was out of bandwidth for that month and I wasn&#8217;t about to give my horrible ISP absurd overage fees, so I had to cut my Internet for two days until the new billing cycle. Because in a game like that, missing even a single day will make you fall behind the other players, I had to try to find an Internet connection. Therefore, I took my laptop to the library. Unfortunately, when I got there, I couldn&#8217;t figure out how to connect, I couldn&#8217;t find the password and because of my intense social-anxiety-disorder, I couldn&#8217;t ask. I didn&#8217;t feel like walking back, so I figured I&#8217;d stay and use my laptop there amongst people. I didn&#8217;t have a plan for what to do while I was there, so I thought I&#8217;d do a little programming. I&#8217;m not sure how I came to it\u2014probably just a random thought\u2014but I ended up deciding to implement the classic game of <em>Pong<\/em> in AutoHotkey for some reason. About an hour, and a lot of tweaking later, I was finished, I had made pong in a hotkey-making automation scripting language (hey, cut me some slack; it&#8217;s difficult to use the laptop&#8217;s built-in keyboard). Five years later, I made an icon and compiled it, and now it&#8217;s being released.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PongAHK This is the classic game of Pong, implemented in AutoHotkey. Usage Controls: Player 1: W , S Player 2: \u2191 , \u2193 Quit : Escape Download PongAHK.7z Background In 2014, I got stuck playing League of Angels for much, much longer than I was planning. I figured I&#8217;d try it for a few minutes [&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-80","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/synetech\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}