Skip to content

Commit 19c873d

Browse files
committed
version 1.0.8
1 parent 6707f05 commit 19c873d

File tree

6 files changed

+45
-13
lines changed

6 files changed

+45
-13
lines changed

frontend/public/javadoc/battlecode/common/Transaction.html

+12-6
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ <h3>Constructor Summary</h3>
131131
<th class="colOne" scope="col">Constructor and Description</th>
132132
</tr>
133133
<tr class="altColor">
134-
<td class="colOne"><code><span class="memberNameLink"><a href="../../battlecode/common/Transaction.html#Transaction-int-int:A-">Transaction</a></span>(int&nbsp;cost,
135-
int[]&nbsp;message)</code>&nbsp;</td>
134+
<td class="colOne"><code><span class="memberNameLink"><a href="../../battlecode/common/Transaction.html#Transaction-int-int:A-int-">Transaction</a></span>(int&nbsp;cost,
135+
int[]&nbsp;message,
136+
int&nbsp;id)</code>&nbsp;</td>
136137
</tr>
137138
</table>
138139
</li>
@@ -152,7 +153,9 @@ <h3>Method Summary</h3>
152153
<tr id="i0" class="altColor">
153154
<td class="colFirst"><code>int</code></td>
154155
<td class="colLast"><code><span class="memberNameLink"><a href="../../battlecode/common/Transaction.html#compareTo-battlecode.common.Transaction-">compareTo</a></span>(<a href="../../battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a>&nbsp;other)</code>
155-
<div class="block">Transactions with higher cost have higher priority.</div>
156+
<div class="block">Transactions with higher cost have higher priority, then transactions with
157+
higher randomly generated id, then (if two transactions somehow collide in
158+
randomly generated id) transaction that is lexicographically earlier.</div>
156159
</td>
157160
</tr>
158161
<tr id="i1" class="rowColor">
@@ -189,14 +192,15 @@ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
189192
<!-- -->
190193
</a>
191194
<h3>Constructor Detail</h3>
192-
<a name="Transaction-int-int:A-">
195+
<a name="Transaction-int-int:A-int-">
193196
<!-- -->
194197
</a>
195198
<ul class="blockListLast">
196199
<li class="blockList">
197200
<h4>Transaction</h4>
198201
<pre>public&nbsp;Transaction(int&nbsp;cost,
199-
int[]&nbsp;message)</pre>
202+
int[]&nbsp;message,
203+
int&nbsp;id)</pre>
200204
</li>
201205
</ul>
202206
</li>
@@ -241,7 +245,9 @@ <h4>getSerializedMessage</h4>
241245
<li class="blockList">
242246
<h4>compareTo</h4>
243247
<pre>public&nbsp;int&nbsp;compareTo(<a href="../../battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a>&nbsp;other)</pre>
244-
<div class="block">Transactions with higher cost have higher priority.</div>
248+
<div class="block">Transactions with higher cost have higher priority, then transactions with
249+
higher randomly generated id, then (if two transactions somehow collide in
250+
randomly generated id) transaction that is lexicographically earlier.</div>
245251
<dl>
246252
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
247253
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a>&gt;</code></dd>

frontend/public/javadoc/battlecode/common/package-tree.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ <h2 title="Enum Hierarchy">Enum Hierarchy</h2>
102102
<ul>
103103
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
104104
<ul>
105-
<li type="circle">battlecode.common.<a href="../../battlecode/common/Direction.html" title="enum in battlecode.common"><span class="typeNameLink">Direction</span></a></li>
106-
<li type="circle">battlecode.common.<a href="../../battlecode/common/Team.html" title="enum in battlecode.common"><span class="typeNameLink">Team</span></a></li>
107105
<li type="circle">battlecode.common.<a href="../../battlecode/common/RobotType.html" title="enum in battlecode.common"><span class="typeNameLink">RobotType</span></a></li>
108106
<li type="circle">battlecode.common.<a href="../../battlecode/common/GameActionExceptionType.html" title="enum in battlecode.common"><span class="typeNameLink">GameActionExceptionType</span></a></li>
107+
<li type="circle">battlecode.common.<a href="../../battlecode/common/Direction.html" title="enum in battlecode.common"><span class="typeNameLink">Direction</span></a></li>
108+
<li type="circle">battlecode.common.<a href="../../battlecode/common/Team.html" title="enum in battlecode.common"><span class="typeNameLink">Team</span></a></li>
109109
</ul>
110110
</li>
111111
</ul>

frontend/public/javadoc/index-all.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ <h2 class="title">C</h2>
245245
</dd>
246246
<dt><span class="memberNameLink"><a href="battlecode/common/Transaction.html#compareTo-battlecode.common.Transaction-">compareTo(Transaction)</a></span> - Method in class battlecode.common.<a href="battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a></dt>
247247
<dd>
248-
<div class="block">Transactions with higher cost have higher priority.</div>
248+
<div class="block">Transactions with higher cost have higher priority, then transactions with
249+
higher randomly generated id, then (if two transactions somehow collide in
250+
randomly generated id) transaction that is lexicographically earlier.</div>
249251
</dd>
250252
<dt><span class="memberNameLink"><a href="battlecode/common/RobotType.html#cost">cost</a></span> - Variable in enum battlecode.common.<a href="battlecode/common/RobotType.html" title="enum in battlecode.common">RobotType</a></dt>
251253
<dd>
@@ -808,7 +810,7 @@ <h2 class="title">T</h2>
808810
<dd>&nbsp;</dd>
809811
<dt><a href="battlecode/common/Transaction.html" title="class in battlecode.common"><span class="typeNameLink">Transaction</span></a> - Class in <a href="battlecode/common/package-summary.html">battlecode.common</a></dt>
810812
<dd>&nbsp;</dd>
811-
<dt><span class="memberNameLink"><a href="battlecode/common/Transaction.html#Transaction-int-int:A-">Transaction(int, int[])</a></span> - Constructor for class battlecode.common.<a href="battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a></dt>
813+
<dt><span class="memberNameLink"><a href="battlecode/common/Transaction.html#Transaction-int-int:A-int-">Transaction(int, int[], int)</a></span> - Constructor for class battlecode.common.<a href="battlecode/common/Transaction.html" title="class in battlecode.common">Transaction</a></dt>
812814
<dd>&nbsp;</dd>
813815
<dt><span class="memberNameLink"><a href="battlecode/common/MapLocation.html#translate-int-int-">translate(int, int)</a></span> - Method in class battlecode.common.<a href="battlecode/common/MapLocation.html" title="class in battlecode.common">MapLocation</a></dt>
814816
<dd>

frontend/public/specs.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<div class="main">
170170

171171
<h1 id="battlecode-2020">Battlecode 2020</h1>
172-
<p><em>The formal specification of this year’s game.</em> Current version: 2020.1.0.7</p>
172+
<p><em>The formal specification of this year’s game.</em> Current version: 2020.1.0.8</p>
173173
<p><em>Warning: This document and the game it describes will be tweaked as the competition progresses. We’ll try to keep changes to a minimum, but will likely have to make modifications to keep the game balanced. Any significant changes will be done before the Seeding Tournament.</em></p>
174174
<h2 id="background">Background</h2>
175175
<p>As we all know, the world is changing. Water levels are rising, pollution is becoming a global problem, and we are rapidly depleting our most valuable natural resource: soup. This year’s game is as much about surviving the changing climate as defeating the enemy team.</p>
@@ -475,6 +475,18 @@ <h1 id="lingering-questionsclarifications">Lingering Questions/Clarifications</h
475475
<p>If something is unclear, direct your questions to our <a href="https://discordapp.com/channels/386965718572466197/401552721095688193">Discord</a> where other people may have the same question. We’ll update this spec as the competition progresses.</p>
476476
<h1 id="changelog">Changelog</h1>
477477
<ul>
478+
<li>2020.1.0.8 (1/9/20)
479+
<ul>
480+
<li>spec changes: none</li>
481+
<li>client changes:
482+
<ul>
483+
<li>show blockchain</li>
484+
</ul></li>
485+
<li>engine changes:
486+
<ul>
487+
<li>make blockchain immutable, for real</li>
488+
</ul></li>
489+
</ul></li>
478490
<li>2020.1.0.7 (1/9/20)
479491
<ul>
480492
<li>spec changes: none</li>

frontend/public/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2020.1.0.7
1+
2020.1.0.8

specs/specs.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<div class="main">
170170

171171
<h1 id="battlecode-2020">Battlecode 2020</h1>
172-
<p><em>The formal specification of this year’s game.</em> Current version: 2020.1.0.7</p>
172+
<p><em>The formal specification of this year’s game.</em> Current version: 2020.1.0.8</p>
173173
<p><em>Warning: This document and the game it describes will be tweaked as the competition progresses. We’ll try to keep changes to a minimum, but will likely have to make modifications to keep the game balanced. Any significant changes will be done before the Seeding Tournament.</em></p>
174174
<h2 id="background">Background</h2>
175175
<p>As we all know, the world is changing. Water levels are rising, pollution is becoming a global problem, and we are rapidly depleting our most valuable natural resource: soup. This year’s game is as much about surviving the changing climate as defeating the enemy team.</p>
@@ -475,6 +475,18 @@ <h1 id="lingering-questionsclarifications">Lingering Questions/Clarifications</h
475475
<p>If something is unclear, direct your questions to our <a href="https://discordapp.com/channels/386965718572466197/401552721095688193">Discord</a> where other people may have the same question. We’ll update this spec as the competition progresses.</p>
476476
<h1 id="changelog">Changelog</h1>
477477
<ul>
478+
<li>2020.1.0.8 (1/9/20)
479+
<ul>
480+
<li>spec changes: none</li>
481+
<li>client changes:
482+
<ul>
483+
<li>show blockchain</li>
484+
</ul></li>
485+
<li>engine changes:
486+
<ul>
487+
<li>make blockchain immutable, for real</li>
488+
</ul></li>
489+
</ul></li>
478490
<li>2020.1.0.7 (1/9/20)
479491
<ul>
480492
<li>spec changes: none</li>

0 commit comments

Comments
 (0)