Skip to content

Commit 01d092d

Browse files
committed
Merge branch 'sr2021-game-fixes'
2 parents c62cd4e + 40a387e commit 01d092d

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

images/content/rules/arena-2020.png

8.67 KB
Loading

programming/sr/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ From here in, if you see a `R.something`, the requirement of the `sr.robot` impo
6161
As well as the attributes listed above, the Robot class also has the following attributes, which you may find useful:
6262

6363
zone
64-
: The number of the zone that the robot is associated with. An integer from 0 to 3 inclusive.
64+
: The number of the zone that the robot is associated with. Either `0` or `1`.
6565

6666
mode
6767
: Either "comp" or "dev". When in a competition match, this will be "comp", and at all other times this will be "dev".

programming/sr/vision/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ marker_type
176176
One of:
177177

178178
* `MARKER_ARENA`
179-
* `MARKER_TOKEN_SILVER`
180-
* `MARKER_TOKEN_GOLD`
179+
<!-- Add other game-specific values here too -->
181180

182181
offset
183182
: The offset of the numeric code of the marker from the lowest numbered marker of its type.

rules/archive.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ current competition year are available from the [main rules page][rules-page].
1313

1414
[rules-page]: {{ site.baseurl }}/rules/
1515

16+
[2020](#2020)
17+
---------------------
18+
19+
<img src="{{ site.baseurl }}/images/content/rules/arena-2020.png" alt="A diagram of the arena for the SR2020 game" class="left" />
20+
21+
The 2020 game, _Two Colours_, challenged teams to score points by retrieving
22+
coloured tokens from on and around a raised platform in the centre of the arena.
23+
They had to place these tokens within their scoring zone (i.e. their corner of
24+
the arena). However, if a team gathered more than one token colour within their
25+
scoring zone, each token's value would drop from 3 points to 1 point.
26+
27+
Full details of the 2020 game are available in the [rulebook]({{ site.baseurl }}/resources/2020/rulebook.pdf).
28+
1629
[2019](#2019)
1730
---------------------
1831

rules/index.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
---
22
layout: page
3-
title: 2020 Rules
3+
title: 2021 Rules
44
---
55

6-
2020 Rules
6+
2021 Rules
77
==========
88

9-
[<img class="left" src="{{ site.baseurl }}/resources/2020/rulebook.png" />]({{ site.baseurl }}/resources/2020/rulebook.pdf)
10-
The rules, regulations and specifications for the SR2020 competition can be
11-
found in the [rulebook]({{ site.baseurl }}/resources/2020/rulebook.pdf).
12-
13-
The PDF may be subject to minor changes, so please ensure you're using the most up-to-date version.
14-
We will also let you know of any important changes by email.
15-
9+
The rules for SR2021 will be published soon.
1610

1711
Previous Rules
1812
==============

0 commit comments

Comments
 (0)