{"id":1123418,"date":"2024-03-27T01:12:40","date_gmt":"2024-03-27T05:12:40","guid":{"rendered":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/uncategorized\/video-poker-takes-your-money-in-10-lines-of-basic-hackaday\/"},"modified":"2024-03-27T01:12:40","modified_gmt":"2024-03-27T05:12:40","slug":"video-poker-takes-your-money-in-10-lines-of-basic-hackaday","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/poker\/video-poker-takes-your-money-in-10-lines-of-basic-hackaday\/","title":{"rendered":"Video Poker Takes Your Money In 10 Lines Of BASIC &#8211; Hackaday"},"content":{"rendered":"<p><p>    It wasnt easy, but [D. Scott Williamson] succeeded in    implementing Jacks or Better Video Poker in 10 lines of    BASIC, complete with flashing light and sound! Each round, one    places a bet then plays a hand of 5-card draw, hoping to end up    with Jacks or better.  <\/p>\n<p>    This program is [Scott]s entry into the 2024 BASIC 10 Liner Contest, which at this    writing has concluded submissions and expects to announce    results on April 6th 2024. Contestants may choose any 8-bit    computer system BASIC, and must implement their program within    ten lines of code (classically limited to 80 characters per    line, but there are different categories with different    constraints on line width.)  <\/p>\n<p>    Weve seen impressive 10-line BASIC programs before, like        this re-implementation of the E.T. video game. (Fun fact:    while considered one of the worst video games of all time,    theres a compelling case to be made that while it was a flop,    it was ahead of its time and mostly just misunderstood.)  <\/p>\n<p>    These programs dont look much like the typical BASIC programs    many of us remember. They are exercises in information density,    where every character counts. So were delighted to see [Scott]    also provides a version of his code formatted and commented for    better readability, and a logical overview that steps through    each line.  <\/p>\n<p>    He spends a little time talking about the various challenges,    as well. For example, hand ranking required a clever solution.    IFTHEN conditionals would rapidly consume the limited lines of    code, so hands are ranked programmatically. The 52-card deck is    also simulated, rather than simply generating random cards on    the fly.  <\/p>\n<p>    The result looks great, and you can watch it in action in the    video, just under the page break. If this sort of challenge    tweaks your interest, theres plenty of time to get started on    next years BASIC 10 Liner Contest. Fire up those    emulators!  <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Go here to see the original: <\/p>\n<p><a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/hackaday.com\/2024\/03\/21\/video-poker-takes-your-money-in-10-lines-of-basic\" title=\"Video Poker Takes Your Money In 10 Lines Of BASIC - Hackaday\">Video Poker Takes Your Money In 10 Lines Of BASIC - Hackaday<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> It wasnt easy, but [D. Scott Williamson] succeeded in implementing Jacks or Better Video Poker in 10 lines of BASIC, complete with flashing light and sound! Each round, one places a bet then plays a hand of 5-card draw, hoping to end up with Jacks or better.  <a href=\"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/poker\/video-poker-takes-your-money-in-10-lines-of-basic-hackaday\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[436508],"tags":[],"class_list":["post-1123418","post","type-post","status-publish","format-standard","hentry","category-poker"],"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/1123418"}],"collection":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/comments?post=1123418"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/1123418\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/media?parent=1123418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/categories?post=1123418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/tags?post=1123418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}