<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Foognostic blogs &#187; pokerepl</title> <atom:link href="http://blogs.foognostic.net/topics/pokerepl/feed/" rel="self" type="application/rss+xml" /><link>http://blogs.foognostic.net</link> <description>Seeking knowledge of foo</description> <lastBuildDate>Thu, 24 Feb 2011 23:17:24 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Announcing Pokerepl</title><link>http://blogs.foognostic.net/2009/11/announcing-pokerepl/</link> <comments>http://blogs.foognostic.net/2009/11/announcing-pokerepl/#comments</comments> <pubDate>Mon, 16 Nov 2009 00:31:22 +0000</pubDate> <dc:creator>Seth Schroeder</dc:creator> <category><![CDATA[clojure]]></category> <category><![CDATA[pokerepl]]></category> <guid
isPermaLink="false">http://blogs.foognostic.net/?p=249</guid> <description><![CDATA[Clojure code to perform a very little bit of Texas Hold'em has been uploaded to BitBucket. Fire up a REPL and paste in the contents of poker.clj, then try it out with something like:
(deal-holdem (new-deck) [:al :bill :chas])]]></description> <content:encoded><![CDATA[<p>Standard disclaimer: <a
href="http://blogs.foognostic.net/disclaimer-clojure-is-a-new-hobby/">Clojure is a new hobby.</a></p><p>Clojure code to perform a very little bit of Texas Hold'em has been uploaded to <a
href="http://bitbucket.org/seths/pokerepl/src/">BitBucket</a>. Fire up a REPL and paste in the contents of poker.clj, then try it out with something like:</p><div
class="codecolorer-container clojure vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div
class="clojure codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #66cc66;">&#40;</span>deal-holdem <span
style="color: #66cc66;">&#40;</span>new-deck<span
style="color: #66cc66;">&#41;</span> <span
style="color: #66cc66;">&#91;</span>:al :bill :chas<span
style="color: #66cc66;">&#93;</span><span
style="color: #66cc66;">&#41;</span></div></div><p>BitBucket supports <a
href="http://bitbucket.org/help/GettingStartedWithMercurial">Mercurial</a>. If it's installed, here's the clone URL:
hg clone https://seths@bitbucket.org/seths/pokerepl/</p><p>Otherwise, here's a quick link to a bz2 of the <a
href="http://bitbucket.org/seths/pokerepl/get/afa2596f2acf.bz2">source</a>. This link will only ever get the first version of the code... so consider installing Mercurial or hitting the project page.</p><p>Much work remains to make this code interactive.</p><ol><li>A little more work on judging hands (identifies groups but not by suit)</li><li>Add support for chips</li><li>Add support for checking, calling, raising</li><li>Add support for folding</li><li>BIG: very simplistic logic for having CPU players bet/call/fold</li><li>VERY BIG: Rewrite most of everything with agents and refs in order to...</li><li>HUGE: Support network based play with real people</li></ol><p>Lastly, this is my first foray into the functional fray so don't spare the code reviews. PLEASE. Fork it mercilessly!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.foognostic.net/2009/11/announcing-pokerepl/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
