<?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>GarethWestern.com &#187; restful</title>
	<atom:link href="http://garethwestern.com/archives/tag/restful/feed/" rel="self" type="application/rss+xml" />
	<link>http://garethwestern.com</link>
	<description>*insert witty tagline here*</description>
	<lastBuildDate>Wed, 25 Mar 2009 16:41:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GazBot on WeeWar</title>
		<link>http://garethwestern.com/archives/2008/11/17/gazbot-on-weewar/</link>
		<comments>http://garethwestern.com/archives/2008/11/17/gazbot-on-weewar/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 23:51:36 +0000</pubDate>
		<dc:creator>GaZ</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[betfair]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[restful]]></category>
		<category><![CDATA[web service]]></category>
		<category><![CDATA[weewar]]></category>

		<guid isPermaLink="false">http://garethwestern.com/?p=213</guid>
		<description><![CDATA[A friend from work who has a bit of a knack for the mathematics of gambling has been playing with the Betfair API and developed a bookmaker bot to automagically take and place bets. The way it works is no different to someone logging on to betfair and taking a bet for some competitor to [...]]]></description>
			<content:encoded><![CDATA[<p>A friend from work who has a bit of a knack for the mathematics of gambling has been playing with <a href="http://bdp.betfair.com/">the Betfair API</a> and developed a bookmaker <abbr title="Abbreviation for robot, the word is used to describe programs, usually run on a server, that automate tasks such as forwarding or sorting e-mail.">bot</abbr> to automagically take and place bets. The way it works is no different to someone logging on to betfair and taking a bet for some competitor to win / lose an event, but because he&#8217;s automated the process it&#8217;s able to process <strong>LOTS</strong> of transactions (I&#8217;m not going to give away any numbers) across multiple events. I don&#8217;t know / understand the exact details of how it works, but it seems to be doing quite well for him!</p>
<p>So hearing about what he&#8217;s done has inspired me to create a bot of my own. I&#8217;m steering clear of Betfair as knowing my luck all my spare money would disappear within a month, so instead I&#8217;m gonna have a go at creating a <strong>WAR BOT</strong>! Or, more specifically, a <a href="http://weewar.com/"><strong>WEEWAR</strong></a> bot! Hmm&#8230; weewar used to have <a href="http://en.wikipedia.org/wiki/Weewar">a wikipedia page</a>, however it looks like it&#8217;s been deleted (&#8220;reason was &#8216;Non-notable game, no citations from multiple reliable, third-party published sources.&#8221;&#8230;. pah!). Basically, weewar is a turn-based strategy game based on maps composed of hexagons representing <a href="http://weewar.com/specifications#Terrains">different terrain types</a>. Once a player controls a base he is able to produce <a href="http://weewar.com/specifications#Units">more units</a> (troopers, tanks, ships, aircraft), which can be used to capture / destroy enemy units. The game is won once a single player has eliminated all enemy units. So far this sounds fairly ordinary, and it will continue to do so&#8230; <em>unless</em> you&#8217;re the kind of person that has an interest in <strong>WEB SERVICES</strong>, because weewar has <a href="http://weewar.com/api">it&#8217;s own &#8220;RESTFul&#8221; API</a> (ok, technically it might not be <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">RESTful</a> in the strictest sense, but it&#8217;s the buzzword of the year so I&#8217;ll go with it)! </p>
<p>And so the idea for <a href="http://weewar.com/user/ai_gazbot">gazbot</a> was born! So far all I&#8217;ve really done is create a crude implementation of <a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm">Dijkstra&#8217;s algorithm</a> in order for units to follow the shortest path to any given coordinate. Next I&#8217;ll need to create some form of strategy for choosing which coordinate to head for, and some way of determining how to behave according to the situation. No, this isn&#8217;t going to be easy, and yes, it will probably be next to useless against any half-decent human player, but it should still be a fun experiment and hopefully it&#8217;ll beat a couple of the other weewar bots already out there!</p>
]]></content:encoded>
			<wfw:commentRss>http://garethwestern.com/archives/2008/11/17/gazbot-on-weewar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bookmarks for April 27th through April 29th</title>
		<link>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/</link>
		<comments>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 09:04:38 +0000</pubDate>
		<dc:creator>GaZ</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[brightkite]]></category>
		<category><![CDATA[bush]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[elections]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[humourous]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[mariahcarey]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[restful]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlinjection]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[tutori]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[usa]]></category>

		<guid isPermaLink="false">http://garethwestern.com/?p=204</guid>
		<description><![CDATA[Here&#8217;s what I&#8217;ve been reading between April 27th and April 29th:

How to install RESTful Authentication on a Ruby on Rails 2.0 application &#8211; 
SQL Injection Attacks on IIS Web Servers &#8211; BillS IIS Blog &#8211; 
Google App Engine: One-to-many JOIN &#8211; 
Mariah Carey Embarrassed on Good Morning America Live &#8211; &#34;Stop singing my part now, [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s what I&#8217;ve been reading between April 27th and April 29th:</p>
<ul>
<li><a href="http://crazyrails.com/how-to-install-restful-authentication/">How to install RESTful Authentication on a Ruby on Rails 2.0 application</a> &#8211; </li>
<li><a href="http://blogs.iis.net/bills/archive/2008/04/25/sql-injection-attacks-on-iis-web-servers.aspx">SQL Injection Attacks on IIS Web Servers &#8211; BillS IIS Blog</a> &#8211; </li>
<li><a href="http://blog.arbingersys.com/2008/04/google-app-engine-one-to-many-join.html">Google App Engine: One-to-many JOIN</a> &#8211; </li>
<li><a href="http://www.youtube.com/watch?v=OHb7ljFnDME">Mariah Carey Embarrassed on Good Morning America Live</a> &#8211; &quot;Stop singing my part now, baby!&quot; lol</li>
<li><a href="http://news.bbc.co.uk/1/hi/world/americas/7369510.stm">BBC NEWS | World | Americas | Bush pokes fun at his successors</a> &#8211; US President George W Bush poked fun at his potential successors during his last White House Correspondents&#39; Association dinner.</li>
<li><a href="http://getsatisfaction.com/brightkite/topics/why_does_brightkite_only_work_for_the_us">Why does Brightkite only work for the US?</a> &#8211; </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.060 seconds -->
