Added beginnings of project website.

This commit is contained in:
Simon Brooke 2021-11-18 14:05:28 +00:00
parent 31b20f012e
commit 4ff29c4ddd
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
27 changed files with 1156 additions and 41 deletions

View file

@ -1,18 +0,0 @@
# Algorithmic play
Territories which are not managed by players will have to be managed algorithmically. Essentially, the algorithm may choose any party for any territory, but there will be strong biases both in the probability and the stability of party associations with territories.
The following associations will be made.
| Territory | Initial party | Stability |
| ------------ | ------------- | ------------ |
| America | Blue | Volatile |
| Africa | Red | Volatile |
| Brazil | Blue | Volatile |
| China | Red | Stable |
| Europe | Red | Intermediate |
| India | Blue | Intermediate |
| Russia | Blue | Volatile |
| Saudi Arabia | Blue | Volatile |
#####

17
doc/Algorithmic_Play.md Normal file
View file

@ -0,0 +1,17 @@
# Algorithmic play
Territories which are not managed by players will have to be managed algorithmically. Essentially, the algorithm may choose any [party](Political_Parties.html) for any territory, but there will be strong biases both in the probability and the stability of party associations with territories.
The following associations will be made.
| Territory | Initial party | Stability |
| ------------ | ----------------------------------- | -------------------------------------------- |
| America | [Blue](Political_Parties.html#blue) | Volatile |
| Africa | [Red](Political_Parties.html#red) | Volatile |
| Brazil | [Blue](Political_Parties.html#blue) | Volatile |
| China | [Red](Political_Parties.html#red) | Stable |
| Europe | [Red](Political_Parties.html#red) | Intermediate |
| India | [Blue](Political_Parties.html#blue) | Intermediate |
| Russia | [Blue](Political_Parties.html#blue) | Volatile |
| Saudi Arabia | [Blue](Political_Parties.html#blue) | Volatile |

View file

@ -4,7 +4,7 @@ Broadly you can influence other territories by three main methods (and algorithm
## Diplomacy
What this fundamentally comes down to is bribing territories into doing what you want. It will cost money, probably serious money. Diplomacy has no carbon cost, and no real downside. Poorer territories will generally be cheaper to buy than richer ones, red territories will generally be cheaper to buy than blue or green ones.
What this fundamentally comes down to is bribing territories into doing what you want. It will cost money, probably serious money. You can also donate aid or send rescuers to a catastrophic event in another player's territory, which will also be recognised by algorithmic players as a friendly gesture (this will probably be cheaper in the long run). Diplomacy has no carbon cost, and no real downside. Poorer territories will generally be cheaper to buy than richer ones, red territories will generally be cheaper to buy than blue or green ones.
## Interference
@ -16,4 +16,3 @@ You can attempt to impose the government you want on a territory by military int
Military intervention has huge carbon cost, and a war involving both America and China, or any four territories, is essentially game over everyone loses.
###

View file

@ -1,4 +1,4 @@
## Playable Territories
# Playable Territories
The following territories will be playable (i.e. controllable by a player) in the game. It should be possible to play in a small-group collaborative multiplayer arrangement, where different players control different playable territories.
@ -186,7 +186,7 @@ Average productivity, some surplus, much use of fossil fuels and fertilisers.
##### Energy
Significant exports of fossil fuels. I don't really know enough to know how widespread private motor transport is, or how good the rail/mass transit network is.
##### Industry
@ -224,4 +224,4 @@ Modern and extremely well equipped but not large.
##### Transport
Widespread use of private motor transport.
Widespread use of private motor transport.

View file

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Algorithmic play</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 current"><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#algorithmic-play" id="algorithmic-play"></a>Algorithmic play</h1>
<p>Territories which are not managed by players will have to be managed algorithmically. Essentially, the algorithm may choose any <a href="Political_Parties.html">party</a> for any territory, but there will be strong biases both in the probability and the stability of party associations with territories.</p>
<p>The following associations will be made.</p>
<table>
<thead>
<tr><th> Territory </th><th> Initial party </th><th> Stability </th></tr>
</thead>
<tbody>
<tr><td> America </td><td> <a href="Political_Parties.html#blue">Blue</a> </td><td> Volatile </td></tr>
<tr><td> Africa </td><td> <a href="Political_Parties.html#red">Red</a> </td><td> Volatile </td></tr>
<tr><td> Brazil </td><td> <a href="Political_Parties.html#blue">Blue</a> </td><td> Volatile </td></tr>
<tr><td> China </td><td> <a href="Political_Parties.html#red">Red</a> </td><td> Stable </td></tr>
<tr><td> Europe </td><td> <a href="Political_Parties.html#red">Red</a> </td><td> Intermediate </td></tr>
<tr><td> India </td><td> <a href="Political_Parties.html#blue">Blue</a> </td><td> Intermediate </td></tr>
<tr><td> Russia </td><td> <a href="Political_Parties.html#blue">Blue</a> </td><td> Volatile </td></tr>
<tr><td> Saudi Arabia </td><td> <a href="Political_Parties.html#blue">Blue</a> </td><td> Volatile </td></tr>
</tbody>
</table>
</div></div></div></body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Climate Events</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 current"><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#climate-events" id="climate-events"></a>Climate Events</h1>
<p>The main purpose of the game is to help players understand and appreciate the probable costs of climate change. Therefore, climate events should be modelled using the best available scientific projections. Generally, once severe climate events start to happen in a territory, then algorithmically the population will tend to move towards favouring greener government; but once this sort of thing has started happening its really too late.</p>
<h2><a href="#transient-events" id="transient-events"></a>Transient events</h2>
<p>Transient events effect areas temporarily; they may cause huge damage, but afterwards the areas return to habitable. The probability of transient events varies with geography, and needs to be reasonably modelled. The probability and intensity of such events varies overall with the overall degree of anthropogenic warming</p>
<h3><a href="#extreme-heat-events" id="extreme-heat-events"></a>Extreme Heat Events</h3>
<p>Extreme heat events essentially heat waves may happen anywhere outside polar regions., but are more probable in the tropics.</p>
<p>Extreme heat events may cause substantial proportions of the population of the affected region to die up to 100% in severe cases (i.e. sustained wet bulb temperature above 38° Celsius). Extreme heat events almost certainly cause crop failure. Extreme heat events will very probably cause forest fire.</p>
<h3><a href="#fire-events-forest-fires-also-peatland-fires-and-tundrataiga-fires" id="fire-events-forest-fires-also-peatland-fires-and-tundrataiga-fires"></a>Fire Events: forest fires; also peatland fires and tundra/taiga fires</h3>
<p>Fire events will normally start from extreme heat events but may persist for some time after the heat event has abated, while there are contiguous areas of forest or high-carbon soil to burn. These fires result in the loss of substantially all of the sequestered carbon in the area affected, and will cause crop failures and widespread infrastructure damage. Forest loss will also change rainfall patterns potentially leading to desertification.</p>
<h3><a href="#flood-events" id="flood-events"></a>Flood Events</h3>
<p>Flood events are considered separately from sea level rise, which is persistent; flood events happen primarily in river valleys. Flood events cause widespread economic and infrastructure damage and crop failure. They will also cause deaths but typically less thant 25% of the population of the affected area.</p>
<h3><a href="#storm-events" id="storm-events"></a>Storm Events</h3>
<p>Storm events happen primarily on leeward coasts and tend to be most intense in the tropics, but really may happen more or less anywhere; again, this needs to be modelled. Storm events directly cause infrastructure damage and localised flooding leading to further infrastructure damage and crop failure; and also contribute to flood events further down the river catchments.</p>
<h2><a href="#persistent-events" id="persistent-events"></a>Persistent events</h2>
<h3><a href="#sea-level-rise" id="sea-level-rise"></a>Sea level rise</h3>
<p>Sea level rise is caused by ice melt and by thermal expansion of sea water; both can be modelled. Both are fairly slow processes, so by the time sea level rise is happening theres very little policy intervention which is likely to stop it. Sea level rise results in the total loss of affected land areas, leading to loss of all economic output.</p>
<h3><a href="#desertification" id="desertification"></a>Desertification</h3>
<p>Desertification will happen where rainfall is no longer sufficient to maintain vegetation cover; it will be the consequence of three things:</p>
<ol>
<li>Aquifer depletion;</li>
<li>Forest loss;</li>
<li>Atmospheric circulation change.</li>
</ol>
<p>All these can be modelled.</p>
<p>Desertification results in permanent crop failure, and an increased probability of extreme heat events.</p>
<h3><a href="#biodiversity-loss" id="biodiversity-loss"></a>Biodiversity loss</h3>
<p>Biodiversity loss needs careful thinking about. It is certainly a factor (and is already causing e.g. very substantial falls in the productivity of fisheries), but I dont know enough yet to be able to model its wider economic and policy consequences.</p>
</div></div></div></body></html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Influencing other territories</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 current"><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#influencing-other-territories" id="influencing-other-territories"></a>Influencing other territories</h1>
<p>Broadly you can influence other territories by three main methods (and algorithmically managed territories will use these too).</p>
<h2><a href="#diplomacy" id="diplomacy"></a>Diplomacy</h2>
<p>What this fundamentally comes down to is bribing territories into doing what you want. It will cost money, probably serious money. You can also donate aid or send rescuers to a catastrophic event in another players territory, which will also be recognised by algorithmic players as a friendly gesture (this will probably be cheaper in the long run). Diplomacy has no carbon cost, and no real downside. Poorer territories will generally be cheaper to buy than richer ones, red territories will generally be cheaper to buy than blue or green ones.</p>
<h2><a href="#interference" id="interference"></a>Interference</h2>
<p>You can interfere in another territorys political processes by bribing politicians, funding favoured political parties, or buying media. This needs to be covert or it will be greatly resented; there is a random but significant chance of it backfiring spectacularly (i.e. promoting the faction you oppose rather than the one you support). It will generally be cheaper than diplomacy but has no carbon cost.</p>
<h2><a href="#military-intervention" id="military-intervention"></a>Military intervention</h2>
<p>You can attempt to impose the government you want on a territory by military intervention. Military intervention will only work if the attacking territory is at least equally militarily strong as the defending. Other territories of the same political colour may join in to support the territory attacked.</p>
<p>Military intervention has huge carbon cost, and a war involving both America and China, or any four territories, is essentially game over everyone loses.</p>
</div></div></div></body></html>

View file

@ -0,0 +1,117 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Playable Territories</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 current"><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#playable-territories" id="playable-territories"></a>Playable Territories</h1>
<p>The following territories will be playable (i.e. controllable by a player) in the game. It should be possible to play in a small-group collaborative multiplayer arrangement, where different players control different playable territories.</p>
<h3><a href="#africa" id="africa"></a>Africa</h3>
<p>Treated as one polity for the purposes of the game.</p>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Low productivity, small surplus, low dependence on fossil fuels and fertilisers. Vulnerable to desertification. Significant areas of forest (23% cover) but currently mostly of low productivity.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Low energy use per capita. Vast potential for solar virtually everywhere, especially in desert areas, but this is largely untapped.</p>
<p>##### Industry</p>
<p>Limited, low productivity.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Small, disorganised, not significantly problematic.</p>
<p>##### Population</p>
<p>1.2 billion, growing significantly, generally very poor, relatively low wealth disparity. Quite low levels of economic improvement are likely to ensure social stability.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Limited, less dependent on fossil fuel than in richer places, but poor infrastructure.</p>
<h3><a href="#america-united-states" id="america-united-states"></a>America (United States)</h3>
<p>Including Canada and possibly Mexico for the purposes of the game.</p>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Very productive, substantial surplus, but highly dependent on fossil energy, fertilisers, depleting aquifers. Vulnerable to desertification. 36% forest cover.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Very high energy use per capit., Very substantial use of fossil fuels in all sectors. Good potential for solar especially in south west.</p>
<p>##### Industry</p>
<p>Productive, flexible, innovative, heavily dependent on fossil energy, plastics.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Enormous, beyond effective democratic control, hugely polluting. Huge stocks of armaments. In the event of civil war, might easily fall apart into warring factions.</p>
<p>##### Population</p>
<p>500 million, overall rich but incomes extremely skewed and with a significant majority very poor. Politically volatile, heavily armed, civil disorder likely.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Heavily biased to individual transportation, cities low density and not easily amenable to efficient mass transport systems.</p>
<h3><a href="#brazil" id="brazil"></a>Brazil</h3>
<p>Including most of South America for the purposes of the game.</p>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Generally low productivity, but considerable surplus. Large forests (62% cover) of generally low productivity, very vulnerable to widespread desertification particularly if deforestation continues.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Generally low energy use per capita, mainly fossil fuels. Good potential for solar, hydro and wind energy.</p>
<p>##### Industry</p>
<p>Limited, low productivity.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Large, beyond effective government control, but poorly organised and not heavily armed.</p>
<p>##### Population</p>
<p>450 million, growing, generally poor, very high wealth disparity. High risk of civil disorder.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Limited infrastructure, mainly individual fossil fuelled vehicles, but cities generally compact and amenable to mass transit.</p>
<h3><a href="#china" id="china"></a>China</h3>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Generally productive, some surplus. Risk of desertification especially in the west. 22% forest cover.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Mix of energy systems from the very worst to the very best, but generally modernising rapidly.</p>
<p>##### Industry</p>
<p>Vast, extremely productive, flexible, but currently extremely polluting. Considerable production of plastics including single use plastics from fossil feedstocks.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Very large, very heavily armed, but disciplined and under tight government control.</p>
<p>##### Population</p>
<p>1,400 million, fairly stable. Generally lesser wealth disparity than in other economies. Low risk of civil disorder.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Relatively good rail and mass transit infrastructure, lower dependence on individual fossil fuel transport than some other economies. Infrastructure generally good.</p>
<h3><a href="#europe" id="europe"></a>Europe</h3>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Very productive, high dependence on fossil fuels and fertilisers. Some surplus. Low risk of desertification. 38% forest cover.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Mixed, modernising rapidly, but still high dependence on fossil fuels. No especially good potential for renewable energy generation except in the north west.</p>
<p>##### Industry</p>
<p>Large, high productivity, possibly less flexible. Very large car industry which may be resistant to change.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Relatively modern and well equipped but not large; generally good discipline and government control.</p>
<p>##### Population</p>
<p>750 million, generally wealthy, wealth disparities lower than in most other areas. Moderate potential for civil disorder.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Heavily biased to individual private motor vehicles, but good rail infrastructure and generally compact cities with good mass transit systems. Overall exceptionally good transport infrastructure.</p>
<h3><a href="#india" id="india"></a>India</h3>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Generally lower productivity, some surplus, labour intensive, less use of fossil fuels than richer territories. 21% forest cover.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Significant use of coal, but good potential for solar energy virtually everywhere.</p>
<p>##### Industry</p>
<p>Growing industrial production, much of it dirty.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Large but not especially well equipped.</p>
<p>##### Population</p>
<p>1,380 million, growing steadily, generally poor but with huge wealth disparities.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Railway network exists but is I think mostly old; lower proportion of the population has access to private motor vehicles.</p>
<h3><a href="#russia" id="russia"></a>Russia</h3>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Average productivity, some surplus, much use of fossil fuels and fertilisers.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Significant exports of fossil fuels. I dont really know enough to know how widespread private motor transport is, or how good the rail/mass transit network is.</p>
<p>##### Industry</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>##### Population</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<h3><a href="#saudi-arabia" id="saudi-arabia"></a>Saudi Arabia</h3>
<p>Including the whole of the Arabian peninsula, Syria and Iraq.</p>
<h4><a href="#starting-conditions" id="starting-conditions"></a>Starting Conditions</h4>
<h5><a href="#agriculture" id="agriculture"></a>Agriculture</h5>
<p>Virtually none, substantial food deficit, very little forest. Soils generally arid.</p>
<h5><a href="#energy" id="energy"></a>Energy</h5>
<p>Currently, vast production of fossil fuels, mainly for export. Vast potential for solar energy but this is as yet largely untapped.</p>
<p>##### Industry</p>
<p>Limited.</p>
<h5><a href="#military" id="military"></a>Military</h5>
<p>Modern and extremely well equipped but not large.</p>
<p>##### Population</p>
<p>140 million, growing rapidly. Severe social tensions despite repression; potentially volatile.</p>
<h5><a href="#transport" id="transport"></a>Transport</h5>
<p>Widespread use of private motor transport.</p>
</div></div></div></body></html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Political Parties</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 current"><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#political-parties" id="political-parties"></a>Political Parties</h1>
<p>Broadly there will be three main political parties in all territories. These will be Blue (or Right), Red (or Left), and Green.</p>
<h2><a href="#blue" id="blue"></a>Blue</h2>
<p>Represents the Trump/Bolsanaro/Johnson/Putin position generally. Blue administrations will favour economic growth over climate stability, will favour military that over diplomacy, and will favour wealth disparity over social cohesion.</p>
<h2><a href="#red" id="red"></a>Red</h2>
<p>Represents the Chinese communist party but also the European left. Red administrations favour economic growth over climate stability, diplomacy over the military, and social cohesion over wealth disparity.</p>
<h2><a href="#green" id="green"></a>Green</h2>
<p>Represents a faction closer to the New Zealand, English or Scottish Green parties that to the German. Green administrations will favour climate stability over economic growth, diplomacy over the military, and social cohesion over wealth disparity.</p>
<h3><a href="#"></a></h3>
</div></div></div></body></html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Strategic materials</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 current"><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#strategic-materials" id="strategic-materials"></a>Strategic materials</h1>
<h2><a href="#energyfossil-fuels" id="energyfossil-fuels"></a>Energy/Fossil fuels</h2>
<p>All industrial processes, and transport, and even domestic life, need energy.</p>
<h2><a href="#metalsstrategic-minerals" id="metalsstrategic-minerals"></a>Metals/strategic minerals</h2>
<p>Theres a great deal of metal which has already been extracted and used in products, which can be recycled. Recycling scrap metal does not need to use fossil fuel energy (although it currently mostly does).</p>
<p>Its much harder to mine new ores and refine metals from them using only green energy than it is to recycle existing scrap.</p>
<p>Quite a lot of existing metal smelting plant is electrically heated, the electricity could come from renewables but of course currently mostly doesnt.</p>
<p>If were going to get to net zero in the next two decades, we are not going to be able to ramp up green metal production to meet the existing usage of metals. So metal must become more expensive and we must use less of it.Of course, one way to achieve this is to design products with longer lifespans.</p>
<h2><a href="#timber" id="timber"></a>Timber</h2>
<p>Management of timber supply has some interesting features.</p>
<p>Forest generally sequesters carbon, but mature trees sequester <strong>much</strong> more carbon than saplings, so cutting down a forest and replanting greatly reduces the amount of sequestration for probably three decades. Also, when forest is harvested, the proportion of the wood which isnt actually converted into usable timber almost certainly ends up back in the atmosphere as carbon.</p>
<p>Nevertheless, timber is the least carbon intensive structural material widely available, and so structures which we have been used to making in concrete and/or steel will be much less carbon intensive is made with timber.</p>
<p>Clearing forest and converting it to another land use is likely to result in the release of virtually all the sequestered carbon to the atmosphere over quite a short time frame.</p>
<p>So good management is, <em>I think</em>, to leave old growth forest alone as far as is possible, and to grow plantation forestry for timber production. Certainly we need a lot of timber production.</p>
<p>My hunches here need scientific validation.</p>
<p>Note that because we will have less metal, there will be demand to use timber for many of the things we currently make from metal. The same applies even more forcefully to concrete: we are going to have very little concrete at all.</p>
<h2><a href="#food" id="food"></a>Food</h2>
<p>Current food production makes considerable use of fertilisers from fossil hydrocarbons. This has two negative climate impacts. Firstly topsoils become depleted of organic material, leaching carbon directly into the atmosphere, and secondly the carbon from the fossil hydrocarbons is mostly released into the atmosphere.</p>
<p>Additionally modern agriculture is heavily mechanised, with most of the machinery powered by fossil hydrocarbons.</p>
<p>In the short term at least, reducing the carbon cost of agriculture is likely to lead to a decrease in the amount of food produced.</p>
<p>Additionally, so-called biofuels are produced from crops grown on land which would otherwise be used for food. Biofuels are the only viable alternative to fossil fuels for medium and long range air transport. So, unless we ban flying, the amount of food we can produce must sharply reduce.</p>
<h2><a href="#concretemasonry" id="concretemasonry"></a>Concrete/Masonry</h2>
</div></div></div></body></html>

View file

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>User Interface</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 current"><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#user-interface" id="user-interface"></a>User Interface</h1>
<h2><a href="#planetary-view" id="planetary-view"></a>Planetary view</h2>
<p>The primary user interface should be a view of the planet from space. Scrolling the mouse wheel in should zoom in (i.e. move the view point nearer to the ground); scrolling out should zoom out. The viewpoint is always straight down, and the planet is always centred in the screen. Holding the left mouse button down and dragging rotates the viewpoint around the planet. When the left button is released, the viewpoint should be geostationary (i.e. if you place it over Paris, it should remain over Paris).</p>
<p>If there is a day/night cycle, which I would like, that should be implemented by the sun rotating around the planet well outside the orbit of the viewpoint; the maximum zoom out of the viewpoint should be within the orbit of the moon.</p>
<h4><a href="#objects" id="objects"></a>Objects</h4>
<p>Its possible (i.e. I would like it) that as the view of the planet is zoomed in, objects become visible to be selected and inspected. Such objects might include</p>
<ol>
<li>Towns and cities;</li>
<li>Factories, farms and power plants;</li>
<li>Roads and railways;</li>
<li>Ships and aeroplanes;</li>
<li>Homes;</li>
<li>Individual people, cars and bicycles.</li>
</ol>
<p>Obviously it is not necessary for every town and city to be represented. Rather, for game purposes, North America might have three cities, roughly New York, Chicago, Los Angeles; it might have about 400 actual instantiated people. This is enough to give a representative view of economic activity without excessive clutter.</p>
<h2><a href="#inspectors" id="inspectors"></a>Inspectors</h2>
<p>Right-clicking on objects on the planet should bring up inspector panel giving key data on the particular object. The initial presentation of the inspector panel should be a small box taking up not more than about 16% of the screen area, but if the object is complex with lots of data to display it should be possible to toggle it to full screen. It should also be possible to dismiss inspectors. Controls to toggle full screen, and to dismiss, may be conventional window title bar controls.</p>
<h3><a href="#desirable-behaviour" id="desirable-behaviour"></a>Desirable behaviour</h3>
<p>When not toggled to full screen the inspector should be positioned just to the right of the object being inspected. It should maintain this relationship to the object being inspected as the planet is rotated, even if this means the inspector being partially or wholly removed from the screen.</p>
<p>This implies to me that inspector panels, when not toggled full screen, should not be drawn in the plane of the screen but rather should be drawn at an altitude of about one kilometre over the object being inspected. They should always be parallel to the plane of the screen, but if the planet is rotated so that the object being inspected is on the far side of the planet, then the inspector should be partially or entirely behind the planet. This also implies that, as the viewpoint is zoomed in and out, the inspector panels should scale, and that when the viewpoint is zoomed out to show the whole planet, inspector panels should be pretty much unreadable.</p>
<p>Double clicking on an open inspector should rotate and zoom the view to place the object inspected left centre of the screen, with the inspector itself right centre of the screen and clearly readable.</p>
<h2><a href="#alerts" id="alerts"></a>Alerts</h2>
<p>When events happen which to which the player may want to respond should be presented as alerts. Such events include</p>
<ol>
<li>Floods;</li>
<li>Forest fires;</li>
<li>Extreme heat events;</li>
<li>Crop failures;</li>
<li>Military action by other players.</li>
</ol>
<p>Alerts should be presented similarly to inspectors, except that they open automatically, and have some different styling (e.g. background colour). Because alerts may relate to events off-screen, in addition to popping up the panel to the right of the location of the event, there should be a pulldown menu at e.g. top right of the screen showing all current alerts, which should flash or otherwise draw attention when there are new alerts which have not yet been acknowledged by the user.</p>
<p>Selecting an alert from the drop down menu will rotate and zoom the planet to place the location of the event left centre on the screen and the alert itself right centre. It may be possible to interact with the alert e.g. to allocate aid/send rescue workers. If you allocate aid/send rescuers to an event in another players territory that will generally be interpreted as a friendly diplomatic move.</p>
<p>Alerts automatically disappear after the related event has ended, but will not disappear while currently focussed.</p>
<h2><a href="#modes" id="modes"></a>Modes</h2>
<p>As well as viewing what is going on on the planet currently, users need to interact with the model in other ways. This requires modal changes to the user interface. Modes will br presented as trays which can be dragged in from the left hand side of the screen. For each available mode, there should be a permanent handle, which should be at the left of the screen for closed trays and at the right of the screen for open trays. One open tray is always topmost, and its handle should be highlighted in some way, probably with colour.</p>
<h3><a href="#taxation-mode" id="taxation-mode"></a>Taxation mode</h3>
<p>Taxation mode allows the player to view and modify tax and tariff rates for your own territory. You may apply taxes to</p>
<ol>
<li>income;</li>
<li>Wealth;</li>
<li>Property;</li>
</ol>
<p>Taxation should not be a fixed rate (i.e. not all income should be taxed at 25%); rather it should be expressed as a formula so that each tax has a floor below which tax is not levied, and a progressive slope so that e.g. people with larger incomes can be levied proportionally more tax.</p>
<p>Tariffs can be levied on any of the <a href="Strategic Materials">Strategic Materials</a>, at a fixed percentage of the value.</p>
<h3><a href="#diplomacy-mode" id="diplomacy-mode"></a>Diplomacy mode</h3>
<p>Diplomacy mode allows the player to interact with other players, either actual woman players or algorithmic players. The exact details of this need further thought.</p>
<h3><a href="#history-mode" id="history-mode"></a>History mode</h3>
<p>History mode essentially allows the player to view a log of events which have happened so far this run.</p>
<h3><a href="#statistics-mode" id="statistics-mode"></a>Statistics mode</h3>
<p>Statistics mode allows the player to inspect a broad range of statistics about the current state of the model.</p>
</div></div></div></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>cc.journeyman.climate-game.core documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch current"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="cc.journeyman.climate-game.core.html#var-init"><div class="inner"><span>init</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">cc.journeyman.climate-game.core</h1><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="public anchor" id="var-init"><h3>init</h3><div class="usage"><code>(init)</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="src-link"><a href="https://github.com/simon-brooke/climate-game/blob/master/src/clj/cc/journeyman/climate_game/core.clj#L24">view source</a></div></div></div></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>cc.journeyman.climate-game.planet.geometry documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5 current"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="cc.journeyman.climate-game.planet.geometry.html#var-init-planet"><div class="inner"><span>init-planet</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">cc.journeyman.climate-game.planet.geometry</h1><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="public anchor" id="var-init-planet"><h3>init-planet</h3><div class="usage"><code>(init-planet)</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="src-link"><a href="https://github.com/simon-brooke/climate-game/blob/master/src/clj/cc/journeyman/climate_game/planet/geometry.clj#L11">view source</a></div></div></div></body></html>

551
docs/codox/css/default.css Normal file
View file

@ -0,0 +1,551 @@
body {
font-family: Helvetica, Arial, sans-serif;
font-size: 15px;
}
pre, code {
font-family: Monaco, DejaVu Sans Mono, Consolas, monospace;
font-size: 9pt;
margin: 15px 0;
}
h1 {
font-weight: normal;
font-size: 29px;
margin: 10px 0 2px 0;
padding: 0;
}
h2 {
font-weight: normal;
font-size: 25px;
}
h5.license {
margin: 9px 0 22px 0;
color: #555;
font-weight: normal;
font-size: 12px;
font-style: italic;
}
.document h1, .namespace-index h1 {
font-size: 32px;
margin-top: 12px;
}
#header, #content, .sidebar {
position: fixed;
}
#header {
top: 0;
left: 0;
right: 0;
height: 22px;
color: #f5f5f5;
padding: 5px 7px;
}
#content {
top: 32px;
right: 0;
bottom: 0;
overflow: auto;
background: #fff;
color: #333;
padding: 0 18px;
}
.sidebar {
position: fixed;
top: 32px;
bottom: 0;
overflow: auto;
}
.sidebar.primary {
background: #e2e2e2;
border-right: solid 1px #cccccc;
left: 0;
width: 250px;
}
.sidebar.secondary {
background: #f2f2f2;
border-right: solid 1px #d7d7d7;
left: 251px;
width: 200px;
}
#content.namespace-index, #content.document {
left: 251px;
}
#content.namespace-docs {
left: 452px;
}
#content.document {
padding-bottom: 10%;
}
#header {
background: #3f3f3f;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
z-index: 100;
}
#header h1 {
margin: 0;
padding: 0;
font-size: 18px;
font-weight: lighter;
text-shadow: -1px -1px 0px #333;
}
#header h1 .project-version {
font-weight: normal;
}
.project-version {
padding-left: 0.15em;
}
#header a, .sidebar a {
display: block;
text-decoration: none;
}
#header a {
color: #f5f5f5;
}
.sidebar a {
color: #333;
}
#header h2 {
float: right;
font-size: 9pt;
font-weight: normal;
margin: 4px 3px;
padding: 0;
color: #bbb;
}
#header h2 a {
display: inline;
}
.sidebar h3 {
margin: 0;
padding: 10px 13px 0 13px;
font-size: 19px;
font-weight: lighter;
}
.sidebar h3 a {
color: #444;
}
.sidebar h3.no-link {
color: #636363;
}
.sidebar ul {
padding: 7px 0 6px 0;
margin: 0;
}
.sidebar ul.index-link {
padding-bottom: 4px;
}
.sidebar li {
display: block;
vertical-align: middle;
}
.sidebar li a, .sidebar li .no-link {
border-left: 3px solid transparent;
padding: 0 10px;
white-space: nowrap;
}
.sidebar li .no-link {
display: block;
color: #777;
font-style: italic;
}
.sidebar li .inner {
display: inline-block;
padding-top: 7px;
height: 24px;
}
.sidebar li a, .sidebar li .tree {
height: 31px;
}
.depth-1 .inner { padding-left: 2px; }
.depth-2 .inner { padding-left: 6px; }
.depth-3 .inner { padding-left: 20px; }
.depth-4 .inner { padding-left: 34px; }
.depth-5 .inner { padding-left: 48px; }
.depth-6 .inner { padding-left: 62px; }
.sidebar li .tree {
display: block;
float: left;
position: relative;
top: -10px;
margin: 0 4px 0 0;
padding: 0;
}
.sidebar li.depth-1 .tree {
display: none;
}
.sidebar li .tree .top, .sidebar li .tree .bottom {
display: block;
margin: 0;
padding: 0;
width: 7px;
}
.sidebar li .tree .top {
border-left: 1px solid #aaa;
border-bottom: 1px solid #aaa;
height: 19px;
}
.sidebar li .tree .bottom {
height: 22px;
}
.sidebar li.branch .tree .bottom {
border-left: 1px solid #aaa;
}
.sidebar.primary li.current a {
border-left: 3px solid #a33;
color: #a33;
}
.sidebar.secondary li.current a {
border-left: 3px solid #33a;
color: #33a;
}
.namespace-index h2 {
margin: 30px 0 0 0;
}
.namespace-index h3 {
font-size: 16px;
font-weight: bold;
margin-bottom: 0;
}
.namespace-index .topics {
padding-left: 30px;
margin: 11px 0 0 0;
}
.namespace-index .topics li {
padding: 5px 0;
}
.namespace-docs h3 {
font-size: 18px;
font-weight: bold;
}
.public h3 {
margin: 0;
float: left;
}
.usage {
clear: both;
}
.public {
margin: 0;
border-top: 1px solid #e0e0e0;
padding-top: 14px;
padding-bottom: 6px;
}
.public:last-child {
margin-bottom: 20%;
}
.members .public:last-child {
margin-bottom: 0;
}
.members {
margin: 15px 0;
}
.members h4 {
color: #555;
font-weight: normal;
font-variant: small-caps;
margin: 0 0 5px 0;
}
.members .inner {
padding-top: 5px;
padding-left: 12px;
margin-top: 2px;
margin-left: 7px;
border-left: 1px solid #bbb;
}
#content .members .inner h3 {
font-size: 12pt;
}
.members .public {
border-top: none;
margin-top: 0;
padding-top: 6px;
padding-bottom: 0;
}
.members .public:first-child {
padding-top: 0;
}
h4.type,
h4.dynamic,
h4.added,
h4.deprecated {
float: left;
margin: 3px 10px 15px 0;
font-size: 15px;
font-weight: bold;
font-variant: small-caps;
}
.public h4.type,
.public h4.dynamic,
.public h4.added,
.public h4.deprecated {
font-size: 13px;
font-weight: bold;
margin: 3px 0 0 10px;
}
.members h4.type,
.members h4.added,
.members h4.deprecated {
margin-top: 1px;
}
h4.type {
color: #717171;
}
h4.dynamic {
color: #9933aa;
}
h4.added {
color: #508820;
}
h4.deprecated {
color: #880000;
}
.namespace {
margin-bottom: 30px;
}
.namespace:last-child {
margin-bottom: 10%;
}
.index {
padding: 0;
font-size: 80%;
margin: 15px 0;
line-height: 16px;
}
.index * {
display: inline;
}
.index p {
padding-right: 3px;
}
.index li {
padding-right: 5px;
}
.index ul {
padding-left: 0;
}
.type-sig {
clear: both;
color: #088;
}
.type-sig pre {
padding-top: 10px;
margin: 0;
}
.usage code {
display: block;
color: #008;
margin: 2px 0;
}
.usage code:first-child {
padding-top: 10px;
}
p {
margin: 15px 0;
}
.public p:first-child, .public pre.plaintext {
margin-top: 12px;
}
.doc {
margin: 0 0 26px 0;
clear: both;
}
.public .doc {
margin: 0;
}
.namespace-index .doc {
margin-bottom: 20px;
}
.namespace-index .namespace .doc {
margin-bottom: 10px;
}
.markdown p, .markdown li, .markdown dt, .markdown dd, .markdown td {
line-height: 22px;
}
.markdown li {
padding: 2px 0;
}
.markdown h2 {
font-weight: normal;
font-size: 25px;
margin: 30px 0 10px 0;
}
.markdown h3 {
font-weight: normal;
font-size: 20px;
margin: 30px 0 0 0;
}
.markdown h4 {
font-size: 15px;
margin: 22px 0 -4px 0;
}
.doc, .public, .namespace .index {
max-width: 680px;
overflow-x: visible;
}
.markdown pre > code {
display: block;
padding: 10px;
}
.markdown pre > code, .src-link a {
border: 1px solid #e4e4e4;
border-radius: 2px;
}
.markdown code:not(.hljs), .src-link a {
background: #f6f6f6;
}
pre.deps {
display: inline-block;
margin: 0 10px;
border: 1px solid #e4e4e4;
border-radius: 2px;
padding: 10px;
background-color: #f6f6f6;
}
.markdown hr {
border-style: solid;
border-top: none;
color: #ccc;
}
.doc ul, .doc ol {
padding-left: 30px;
}
.doc table {
border-collapse: collapse;
margin: 0 10px;
}
.doc table td, .doc table th {
border: 1px solid #dddddd;
padding: 4px 6px;
}
.doc table th {
background: #f2f2f2;
}
.doc dl {
margin: 0 10px 20px 10px;
}
.doc dl dt {
font-weight: bold;
margin: 0;
padding: 3px 0;
border-bottom: 1px solid #ddd;
}
.doc dl dd {
padding: 5px 0;
margin: 0 0 5px 10px;
}
.doc abbr {
border-bottom: 1px dotted #333;
font-variant: none;
cursor: help;
}
.src-link {
margin-bottom: 15px;
}
.src-link a {
font-size: 70%;
padding: 1px 4px;
text-decoration: none;
color: #5555bb;
}

View file

@ -0,0 +1,97 @@
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #333;
background: #f8f8f8;
}
.hljs-comment,
.hljs-quote {
color: #998;
font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: #333;
font-weight: bold;
}
.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
color: #008080;
}
.hljs-string,
.hljs-doctag {
color: #d14;
}
.hljs-title,
.hljs-section,
.hljs-selector-id {
color: #900;
font-weight: bold;
}
.hljs-subst {
font-weight: normal;
}
.hljs-type,
.hljs-class .hljs-title {
color: #458;
font-weight: bold;
}
.hljs-tag,
.hljs-name,
.hljs-attribute {
color: #000080;
font-weight: normal;
}
.hljs-regexp,
.hljs-link {
color: #009926;
}
.hljs-symbol,
.hljs-bullet {
color: #990073;
}
.hljs-built_in,
.hljs-builtin-name {
color: #0086b3;
}
.hljs-meta {
color: #999;
font-weight: bold;
}
.hljs-deletion {
background: #fdd;
}
.hljs-addition {
background: #dfd;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}

5
docs/codox/index.html Normal file
View file

@ -0,0 +1,5 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Climate-game 0.1.0-SNAPSHOT</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 current"><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 "><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="namespace-index" id="content"><h1><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></h1><h5 class="license">Released under the <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GNU General Public License,version 2.0 or (at your option) any later version</a></h5><div class="doc"><p>A game about avoiding climate catastrophe.</p></div><h2>Installation</h2><p>To install, add the following dependency to your project or build file:</p><pre class="deps">[journeyman-cc/climate-game "0.1.0-SNAPSHOT"]</pre><h2>Topics</h2><ul class="topics"><li><a href="Algorithmic_Play.html">Algorithmic play</a></li><li><a href="Climate_Events.html">Climate Events</a></li><li><a href="Influencing_other_territories.html">Influencing other territories</a></li><li><a href="Playable_Territories.html">Playable Territories</a></li><li><a href="Political_Parties.html">Political Parties</a></li><li><a href="Strategic_Materials.html">Strategic materials</a></li><li><a href="User_Interface.html">User Interface</a></li><li><a href="intro.html">The Climate Game</a></li></ul><h2>Namespaces</h2><div class="namespace"><h3><a href="cc.journeyman.climate-game.core.html">cc.journeyman.climate-game.core</a></h3><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="index"><p>Public variables and functions:</p><ul><li> <a href="cc.journeyman.climate-game.core.html#var-init">init</a> </li></ul></div></div><div class="namespace"><h3><a href="cc.journeyman.climate-game.planet.geometry.html">cc.journeyman.climate-game.planet.geometry</a></h3><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p>
</div></div><div class="index"><p>Public variables and functions:</p><ul><li> <a href="cc.journeyman.climate-game.planet.geometry.html#var-init-planet">init-planet</a> </li></ul></div></div></div></body></html>

8
docs/codox/intro.html Normal file
View file

@ -0,0 +1,8 @@
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>The Climate Game</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Climate-game</span> <span class="project-version">0.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="Algorithmic_Play.html"><div class="inner"><span>Algorithmic play</span></div></a></li><li class="depth-1 "><a href="Climate_Events.html"><div class="inner"><span>Climate Events</span></div></a></li><li class="depth-1 "><a href="Influencing_other_territories.html"><div class="inner"><span>Influencing other territories</span></div></a></li><li class="depth-1 "><a href="Playable_Territories.html"><div class="inner"><span>Playable Territories</span></div></a></li><li class="depth-1 "><a href="Political_Parties.html"><div class="inner"><span>Political Parties</span></div></a></li><li class="depth-1 "><a href="Strategic_Materials.html"><div class="inner"><span>Strategic materials</span></div></a></li><li class="depth-1 "><a href="User_Interface.html"><div class="inner"><span>User Interface</span></div></a></li><li class="depth-1 current"><a href="intro.html"><div class="inner"><span>The Climate Game</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cc</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>journeyman</span></div></div></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>climate-game</span></div></div></li><li class="depth-4 branch"><a href="cc.journeyman.climate-game.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>planet</span></div></div></li><li class="depth-5"><a href="cc.journeyman.climate-game.planet.geometry.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>geometry</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#the-climate-game" id="the-climate-game"></a>The Climate Game</h1>
<h2><a href="#introduction" id="introduction"></a>Introduction</h2>
<p>The Climate Game is game about avoiding climate catastrophe.</p>
<h2><a href="#"></a></h2>
<h5><a href="#"></a></h5>
</div></div></div></body></html>

2
docs/codox/js/highlight.min.js vendored Normal file

File diff suppressed because one or more lines are too long

4
docs/codox/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,112 @@
function visibleInParent(element) {
var position = $(element).position().top
return position > -50 && position < ($(element).offsetParent().height() - 50)
}
function hasFragment(link, fragment) {
return $(link).attr("href").indexOf("#" + fragment) != -1
}
function findLinkByFragment(elements, fragment) {
return $(elements).filter(function(i, e) { return hasFragment(e, fragment)}).first()
}
function scrollToCurrentVarLink(elements) {
var elements = $(elements);
var parent = elements.offsetParent();
if (elements.length == 0) return;
var top = elements.first().position().top;
var bottom = elements.last().position().top + elements.last().height();
if (top >= 0 && bottom <= parent.height()) return;
if (top < 0) {
parent.scrollTop(parent.scrollTop() + top);
}
else if (bottom > parent.height()) {
parent.scrollTop(parent.scrollTop() + bottom - parent.height());
}
}
function setCurrentVarLink() {
$('.secondary a').parent().removeClass('current')
$('.anchor').
filter(function(index) { return visibleInParent(this) }).
each(function(index, element) {
findLinkByFragment(".secondary a", element.id).
parent().
addClass('current')
});
scrollToCurrentVarLink('.secondary .current');
}
var hasStorage = (function() { try { return localStorage.getItem } catch(e) {} }())
function scrollPositionId(element) {
var directory = window.location.href.replace(/[^\/]+\.html$/, '')
return 'scroll::' + $(element).attr('id') + '::' + directory
}
function storeScrollPosition(element) {
if (!hasStorage) return;
localStorage.setItem(scrollPositionId(element) + "::x", $(element).scrollLeft())
localStorage.setItem(scrollPositionId(element) + "::y", $(element).scrollTop())
}
function recallScrollPosition(element) {
if (!hasStorage) return;
$(element).scrollLeft(localStorage.getItem(scrollPositionId(element) + "::x"))
$(element).scrollTop(localStorage.getItem(scrollPositionId(element) + "::y"))
}
function persistScrollPosition(element) {
recallScrollPosition(element)
$(element).scroll(function() { storeScrollPosition(element) })
}
function sidebarContentWidth(element) {
var widths = $(element).find('.inner').map(function() { return $(this).innerWidth() })
return Math.max.apply(Math, widths)
}
function calculateSize(width, snap, margin, minimum) {
if (width == 0) {
return 0
}
else {
return Math.max(minimum, (Math.ceil(width / snap) * snap) + (margin * 2))
}
}
function resizeSidebars() {
var primaryWidth = sidebarContentWidth('.primary')
var secondaryWidth = 0
if ($('.secondary').length != 0) {
secondaryWidth = sidebarContentWidth('.secondary')
}
// snap to grid
primaryWidth = calculateSize(primaryWidth, 32, 13, 160)
secondaryWidth = calculateSize(secondaryWidth, 32, 13, 160)
$('.primary').css('width', primaryWidth)
$('.secondary').css('width', secondaryWidth).css('left', primaryWidth + 1)
if (secondaryWidth > 0) {
$('#content').css('left', primaryWidth + secondaryWidth + 2)
}
else {
$('#content').css('left', primaryWidth + 1)
}
}
$(window).ready(resizeSidebars)
$(window).ready(setCurrentVarLink)
$(window).ready(function() { persistScrollPosition('.primary')})
$(window).ready(function() {
$('#content').scroll(setCurrentVarLink)
$(window).resize(setCurrentVarLink)
})

View file

@ -1,22 +1,10 @@
(ns cc.journeyman.climate-game.core
(:require [jme-clj.core :refer [add-to-root box defsimpleapp geo material set* start]])
(:import [aaronperkins.planeteg PlanetApp]
[com.jme3.math ColorRGBA Vector3f]
[com.jme3.app SimpleApplication]
[com.jme3.scene Geometry]
[com.jme3.material Material]
[com.jme3.light DirectionalLight]))
"Launcher."
(:require [cc.journeyman.climate-game.planet.geometry :refer [init-planet]]
[jme-clj.core :refer [add-light-to-root add-to-root box defsimpleapp generate geo get*
light load-texture material rotate set* sphere start vec3]])
(:import [cc.journeyman.climate_game ClimateGameApp]))
;; (defn init []
;; (let [box (box 1 1 1)
;; geom (geo "Box" box)
;; mat (material "Common/MatDefs/Misc/Unshaded.j3md")]
;; (set* mat :color "Color" ColorRGBA/Blue)
;; (set* geom :material mat)
;; (add-to-root geom)))
;; (defsimpleapp app :init init)
(def app (PlanetApp.))
(def app (ClimateGameApp.))
(start app)

View file

@ -0,0 +1,18 @@
(ns cc.journeyman.climate-game.planet.geometry
"Intended to replace java/cc/journeyman/cimate_game/ClimateGameApp.java, but not yet working."
(:require [jme-clj.core :refer [add-light-to-root add-to-root box defsimpleapp geo light material set* start vec3]])
(:import [aaronperkins.planeteg PlanetMeshGen]))
(defn init-planet
"Initialise an app with a planet in the centre of the screen. Not yet working."
[]
(let [generator (PlanetMeshGen.)]
(.generateHeightmap generator)
(-> (light :directional)
(set* :direction (vec3 -0.1 -0.7 -1.0))
(add-light-to-root))
(->
(set* (geo "Planet" (.generateMesh generator))
:material
(material "Common/MatDefs/Light/Lighting.j3md"))
add-to-root)))

View file

@ -0,0 +1,52 @@
package cc.journeyman.climate_game;
import aaronperkins.planeteg.PlanetMeshGen;
import com.jme3.app.SimpleApplication;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.material.Material;
import com.jme3.light.DirectionalLight;
/**
* Replacement for Aaron Perkins PlanetApp, doing stuff I need/want. Intended
* to be replaced by the same functionality in Clojure, but I haven't yet made
* that work.
*/
public class ClimateGameApp extends SimpleApplication {
Geometry planet;
@Override
public void simpleInitApp() {
// Setup camera
this.getCamera().setLocation(new Vector3f(0,0,1000));
this.getFlyByCamera().setMoveSpeed(200.0f);
// Add sun
DirectionalLight sun = new DirectionalLight();
sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f));
rootNode.addLight(sun);
// Add planet
planet = new Geometry("Planet");
PlanetMeshGen planetMeshGen = new PlanetMeshGen();
planetMeshGen.generateHeightmap();
planet.setMesh(planetMeshGen.generateMesh());
Material mat = new Material(this.getAssetManager(), "Common/MatDefs/Light/Lighting.j3md");
mat.setBoolean("UseVertexColor", true);
// Uncommet for wireframe
//mat.getAdditionalRenderState().setWireframe(true);
planet.setMaterial(mat);
rootNode.attachChild(planet);
}
@Override
public void simpleUpdate(float tpf) {
planet.rotate(0, 0.005f*tpf, 0);
}
}