-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathratings.html
77 lines (71 loc) · 2.33 KB
/
ratings.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
layout: page
title: Election Ratings
---
{% assign total_weight = 0 %}
{% for option in site.data.options %}
{% assign total_weight = total_weight | plus: option.weight %}
{% endfor %}
<h1>Election Ratings (Season {{ site.data.settings["season"].number }})</h1>
<a href="{% link index.html %}" class="back-link">← Back</a>
{% if site.data.settings["season"].finalised == 0 %}
<div class="warning">The season is still in progress, and a lot can change during a game of Blaseball. If possible, we recommend waiting until the weekend before voting, to avoid being caught out!</div>
{% endif %}
{% if site.data.settings["season"].blessingsDoc %}
Check out the <a href="{{ site.data.settings["season"].blessingsDoc }}">blessings doc</a> to see the analysis behind this.
{% endif %}
{% assign ordered_options = site.data.options | sort: "value" | sort: "weight" | reverse | sort: "type" %}
{% for option in ordered_options %}
<h3>{{option.name}}</h3>
{% if option.type == "Blessing" %}
<div class="value-{{option.value}}">Value:
<strong>
{% case option.value %}
{% when 0 %}
Under Evaluation
{% when 1 %}
Harmful
{% when 2 %}
None
{% when 3 %}
Low
{% when 4 %}
Medium
{% when 5 %}
High
{% endcase %}
</strong>
</div>
{% endif %}
{% if option.type == "Blessing" and option.value != 0 %}
<div class="chance-{{option.chance}}">Chance of Winning:
<strong>
{% case option.chance %}
{% when 0 %}
Not Assessed
{% when 1 %}
Low
{% when 2 %}
Medium
{% when 3 %}
High
{% endcase %}
</strong>
</div>
{% endif %}
{% if option.definition %}
<br/>
<em>{{option.definition}}</em>
{% endif %}
{% if option.review %}
<br/>
{{option.review}}
{% endif %}
<hr/>
{% endfor %}
{% if site.data.settings["season"].finalised != 0 %}
<div class="info">
Looking for help dividing up your votes? Try the <a href="{% link calculator.html %}">voting calculator</a>.
Once you're done voting, please record your results <a href="{{ site.data.settings['season'].formUrl }}">here</a> to help us plan for future seasons!
</div>
{% endif %}