<?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"
	>

<channel>
	<title>golf.js : news</title>
	<atom:link href="http://golfjs.com/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://golfjs.com/news</link>
	<description></description>
	<pubDate>Mon, 01 Dec 2008 01:11:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>The Rules</title>
		<link>http://golfjs.com/news/2008/11/30/the-rules/</link>
		<comments>http://golfjs.com/news/2008/11/30/the-rules/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 01:11:02 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[rules]]></category>

		<category><![CDATA[scoring]]></category>

		<guid isPermaLink="false">http://golfjs.com/news/?p=6</guid>
		<description><![CDATA[One of the downsides of doing client-side code golf is that it&#8217;s really easy to cheat. It&#8217;s so easy that most people would find it really boring. But if you&#8217;re not deterred by boredom, golf.js has a simple safeguard in place: all scores are submitted with code, and any code found to break the rules [...]]]></description>
			<content:encoded><![CDATA[<p>One of the downsides of doing client-side code golf is that it&#8217;s really easy to cheat. It&#8217;s so easy that most people would find it really boring. But if you&#8217;re not deterred by boredom, <strong>golf.js</strong> has a simple safeguard in place: all scores are submitted <em>with code</em>, and any code found to break the rules will be deleted.</p>
<p>Which raises the question: what exactly are the rules?  Here they are:</p>
<ol>
<li>jQuery is legal. I&#8217;m loading jQuery for the functionality of the site itself, but you&#8217;re welcome to use it in your submitted code.</li>
<li>Using any other external JavaScript (e.g. via AJAX, script tag insertion, bookmarklets, etc.) is not legal.</li>
<li>ObscureVariableName is not legal. I&#8217;m using this suffix in the testing framework itself to avoid conflicts with your own variable names. So don&#8217;t intentionally introduce such conflicts to game the game.</li>
</ol>
<p>That&#8217;s it so far. If necessary, I&#8217;ll add more rules as I see people doing things that could reasonably be labeled &#8220;cheating.&#8221; And some holes may include exceptions to these rules.</p>
<h3>The Scoring</h3>
<p>The scoring is pretty simple:</p>
<ol>
<li>Incomplete holes get a default score of 10,000.</li>
<li>Complete holes get a score equal to the number of characters in the solution code.</li>
</ol>
<p>If you have questions about rules or scoring, speak up.</p>
]]></content:encoded>
			<wfw:commentRss>http://golfjs.com/news/2008/11/30/the-rules/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://golfjs.com/news/2008/11/29/welcome/</link>
		<comments>http://golfjs.com/news/2008/11/29/welcome/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 05:20:08 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://golfjs.com/news/?p=3</guid>
		<description><![CDATA[If you&#8217;re new to golf.js (and right now everyone is new), you&#8217;re probably wondering what&#8217;s going on here. If you&#8217;re not familiar with the concept of code golf, you should check out codegolf.com. After writing PHP code there, and JavaScript code for my day job, I started to think about combining the two. And that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re new to <strong>golf.js</strong> (and right now <em>everyone</em> is new), you&#8217;re probably wondering what&#8217;s going on here. If you&#8217;re not familiar with the concept of code golf, you should check out <a href="http://codegolf.com/">codegolf.com</a>. After writing PHP code there, and JavaScript code for my day job, I started to think about combining the two. And that&#8217;s pretty much where <strong>golf.js</strong> came from.</p>
<p>In retrospect, JavaScript seems like the ideal code golf language. All of the limitations of running server-side code are gone with JavaScript. Because you&#8217;re running it on your own computer, it won&#8217;t make a difference to me if you test your code 1 time or 100 times. And because the code isn&#8217;t running on the command line, the input and output formats can be any kind of variable.</p>
<p>So hopefully this will be fun. If you have any suggestions to make it more fun, please leave them in the comments, or <a href="mailto:scott@golfjs.com">send an email</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://golfjs.com/news/2008/11/29/welcome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

