<?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; weewar</title>
	<atom:link href="http://garethwestern.com/archives/tag/weewar/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>
	</channel>
</rss>

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