<?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>Learn C++ &#187; Break Time</title>
	<atom:link href="http://www.learncpp.com/category/breaktime/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 06:46:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Break Time &#8212; Saint Petersburg</title>
		<link>http://www.learncpp.com/breaktime/break-time-saint-petersburg/</link>
		<comments>http://www.learncpp.com/breaktime/break-time-saint-petersburg/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 17:32:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Break Time]]></category>

		<guid isPermaLink="false">http://www.learncpp.com/breaktime/break-time-saint-petersburg/</guid>
		<description><![CDATA[[ We've been having some funkiness going on with our caching plugin.  If you went to http://www.learncpp.com and ended up here instead, please post a comment and let us know.  Thanks! ]
Saint Petersburg is a board game originally released in 2004 by Bernd Brunnhofer, Michael Tummelhofer, Jay Tummelson, and Michael Bruinsma.  Despite [...]]]></description>
			<content:encoded><![CDATA[<p>[ We've been having some funkiness going on with our caching plugin.  If you went to http://www.learncpp.com and ended up here instead, please post a comment and let us know.  Thanks! ]</p>
<p>Saint Petersburg is a board game originally released in 2004 by Bernd Brunnhofer, Michael Tummelhofer, Jay Tummelson, and Michael Bruinsma.  Despite the seeming design-by-committee, this simple card game plays quickly and isn&#8217;t overly complicated.  The goal of the game is to collect as many victory points as possible.  To do so, you will need to acquire gold, which is used to purchase workers, buildings, aristocrats, and &#8220;exchange items&#8221;, which replace workers, buildings, and aristocrats already on the board.</p>
<p>The game takes place in rounds, and each player begins with 25 gold.  The basic idea is simple: each round, there are 4 phases (worker, building, aristocrat, exchange) in which cards of those types are sold.  Each player simply chooses the card he wishes to buy and places it face up in his play area, and then the next player takes his turn.  A phase ends when all players have passed consecutively.  Workers cost between 3 and 8 gold each, and generate 3 gold at the end of the worker phase.  Buildings tend to be moderately expensive, and generate victory points.  Aristocrats generate some gold, and the more expensive ones also generate victory points, but aren&#8217;t as efficient as workers and buildings in doing so.  However, at the end of the game you also get extra victory points for each different aristocrat you have in your hand.  And finally, the exchange items (which have squares around their cost) replace currently placed items.  The amount of gold or victory points a card produces is listed at the bottom of each card.</p>
<p>There are a few other interesting things: First, if you already own a card, buying another one costs one gold less for each card you already own.  This gives you incentive to collect workers of the same type.  Second, you have a &#8220;hand&#8221;, which is capable of holding up to 3 cards.  The hand can hold cards for play later in the game, and you only have to pay for them when you play them.  However, any cards left in your hand are worth -5 victory points at the end of the game!  Third, cards not bought in the round are moved to the bottom row, where they cost one less in the following round.  Finally, there are a few cards with special properties that give you the ability to do things like convert gold to VP, draw an extra card, hold 4 cards in your hand, etc&#8230;</p>
<p>This <a href="http://www.westpark-gamers.de/index.html?/download/sp_pc_e.php&#038;http%3A//www.boardgamegeek.com/article/73459">PC version</a> is a great one-player recreation of the board game.  Make sure you also download the english language pack and cards (which are at the bottom of the web page on the right).  Also, change the AI strength to Z1 &#8212; the default strength doesn&#8217;t let you play as any position except position 1.</p>
<p>Full instructions can be found <a href="http://files.boardgamegeek.com/geekfile_view.php?fileid=5683">here</a>.  The instructions aren&#8217;t very good, but the game is very simple to play and you will figure it out after a few games.   However, even after figuring it out, you will still likely lose a lot of games to the very good AI!  I think it took me over 15 games before I was finally able to scratch out a win!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.learncpp.com/breaktime/break-time-saint-petersburg/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Break Time &#8212; Pluto Scarab Rails</title>
		<link>http://www.learncpp.com/breaktime/break-time-pluto-scarab-rails/</link>
		<comments>http://www.learncpp.com/breaktime/break-time-pluto-scarab-rails/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 22:53:23 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Break Time]]></category>

		<guid isPermaLink="false">http://www.learncpp.com/breaktime/break-time-pluto-scarab-rails/</guid>
		<description><![CDATA[A few years ago, a friend of mine introduced me to a board game called Empire Builder.  The player is in charge of a railroad and is competing against the other players, who are also running their own railroad lines.  Given a limited supply of money, each player has to build track, move [...]]]></description>
			<content:encoded><![CDATA[<p>A few years ago, a friend of mine introduced me to a board game called <a href="http://www.boardgamegeek.com/game/168">Empire Builder</a>.  The player is in charge of a railroad and is competing against the other players, who are also running their own railroad lines.  Given a limited supply of money, each player has to build track, move his or her train, pick up goods, and deliver them to towns that demand them.  The particularly neat thing about Empire Builder (outside of the fact that it was a train game, which gets bonus points in my book) is that each player is given a crayon, and the player&#8217;s railroad line is literally drawn on the board!  The board has some sort of special coating that allows crayon to be erased.  Consequently, the game has affectionately been given the nickname &#8220;Crayon Rails&#8221;.  The success of the original game spawned a host of sequels, including maps in various regions of the world such as Europe (<a href="http://www.boardgamegeek.com/game/157">Eurorails</a>), a fantasy version (<a href="http://www.boardgamegeek.com/game/130">Iron Dragon</a>) and even the moon (<a href="http://www.boardgamegeek.com/game/6663">Lunar Rails</a>)!</p>
<p>Fortunately for us, Bret Mulvey has created an excellent freeware Windows game (based on Eurorails) called <a href="http://bretm.home.comcast.net/rails.html">Pluto Scarab Rails</a>.  Rails runs under .NET, so you will need to have the .NET framework installed to use it.  Rails includes a fantastic random map generator, an easy to use interface, and competitive AI so it can be played solitaire.</p>
<p>Upon starting the game, you begin with 50 million euros and no track.  Mouse-hovering over various cities show the goods that they produce.  To the right of the game board, you will see all of the contracts available.  These contracts represent the current demand for goods.  Hovering over a contract will show you the city that demands the good, along with all the cities that produce it.  You make money by fulfilling contracts (that is, picking up a load of goods from the city that produces them, and deliver them to the city that demands them).  Of course, to get there, you will have to connect the two cities with track, which costs money.  And, of course, your competitors are also building track.  Once two adjacent pieces of land are connected, that route is &#8220;taken&#8221;.  So grabbing up non-mountainous, non-bridge routes before your competitors is important!  Once you deliver a contract, the contract, along with the two bottom contracts are replaced with new contracts (note: contracts you are in the process of delivering may disappear when this happens, so be careful which ones you select, and in what order you deliver your cargo).</p>
<p>Your beginning train has 2 cars and a slow steam engine.  Once you have picked your starting spot, clicking on the train icon allows you to upgrade either the number of cars or the engine type of the train for 20 million euros.</p>
<p>The game ultimately is a game of optimization.  You have to decide where to build track, where to drive your train, what goods to pick up, and how to most efficiently deliver them.  The game comes with brief, but excellent documentation.  I suggest you give it a quick read-through before beginning.  The average game takes a couple of hours, but can be changed by lowering or raising the amount needed to win.</p>
<p>Thanks, Bret, for a fantastic version of a wonderful board game.</p>
<p>Go to: <a href="http://bretm.home.comcast.net/rails.html">Pluto Scarab Rails</a> website</p>
]]></content:encoded>
			<wfw:commentRss>http://www.learncpp.com/breaktime/break-time-pluto-scarab-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Break Time &#8212; Dice Wars</title>
		<link>http://www.learncpp.com/breaktime/break-time-dice-wars/</link>
		<comments>http://www.learncpp.com/breaktime/break-time-dice-wars/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 20:36:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Break Time]]></category>

		<guid isPermaLink="false">http://www.learncpp.com/?p=47</guid>
		<description><![CDATA[Even though this site is focused on programming, it&#8217;s always good to take a break every once in a while.  Get up, stretch, and refocus your mind on something else for a few minutes.  We all like to have a little bit of fun, and one of the best ways to do that [...]]]></description>
			<content:encoded><![CDATA[<p>Even though this site is focused on programming, it&#8217;s always good to take a break every once in a while.  Get up, stretch, and refocus your mind on something else for a few minutes.  We all like to have a little bit of fun, and one of the best ways to do that is through flash type games.</p>
<p>The other day, <a href="http://www.cpptrader.com">CppTrader</a> introduced me to a little flash game called <a href="http://www.gamedesign.jp/flash/dice/dice.html">Dice Wars</a>, and I thought I&#8217;d pass it on to anybody interested.  Dice Wars is very reminiscent of the old board game Risk, only simplified, and playable in under 10 minutes.</p>
<p>Because the game does not come with instructions, let me explain how to play here.  The map is divided into a bunch of random territories, each having a random number of adjacencies.  You are the purple territory.  Each territory has a stack of dice on it.  When it is your turn, you can attack adjacent territories by clicking on one of your territories, and then on the adjacent territory you wish to attack.  The dice are rolled, and whoever has a greater total wins.  Ties go to the defender.</p>
<p>At the end of your turn, you get more dice that are randomly dispersed across your territories.  The number of dice you get is equal to the largest number of adjacent territories you own.  So if you had a cluster of 3 territories, and a cluster of 4 territories, you&#8217;d get 4 dice.</p>
<p>The game is extremely simple to play, and you will understand after one game.  But the strategy is subtly complex, and you will be coming up with new tactics even after 10 or more games.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.learncpp.com/breaktime/break-time-dice-wars/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
