<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037707" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037707</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/coding-php-game#comment-1216179</link>
    <description> &lt;p&gt;Of course, if you want to get really complex, you could also give each user multiple attributes (i.e. strength, speed, agility, defense) and each could have a different impact on the battle.&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Mar 2007 16:07:34 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1216179 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/coding-php-game#comment-1216176</link>
    <description> &lt;p&gt;Jeees... that&#039;s not exactly something simple. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Basically, it comes down to maths. Obviously, the number of points they have will affect the likely hood of winning, so at a basic level, you could do a top trumps style comparison - whoever has the highest number wins. But that makes it a bit one sided.&lt;/p&gt;
&lt;p&gt;To add an element of fairness, I would perhaps throw a random number into the mix. So you take the two scores, add a random number to each one and then add the score to the random number, compare the two totals and whoever has the highest wins.&lt;/p&gt;
&lt;p&gt;Only problem is that there&#039;s no real fun in that. Personally I would make it so that users increase their scores by betting their points against each other.&lt;/p&gt;
&lt;p&gt;i.e. if you both bet 10 points, the looser looses 10 points and the winner gains 10 points.&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Mar 2007 16:05:40 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1216176 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
