git.haldean.org apex / 9728356
add selfkills and squadkills Haldean Brown 2 years ago
2 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616 "attachments",
1717 "hacker",
1818 "teamquality",
19 "selfkills",
20 "squadkills",
1921 ])
2022
2123 dump_fields = ["key", "time"] + sorted(list(valid_fields))
4951 gamewriter.writerow(dump_fields)
5052 for gamekey in gamekeys:
5153 gamedata = json.loads(r.get(gamekey).decode("utf-8"))
52 gamewriter.writerow(gamedata[k] for k in dump_fields)
54 gamewriter.writerow(gamedata.get(k) for k in dump_fields)
5355
7272 <section>
7373 <h2>How long were you alive, in minutes?</h2>
7474 <div class="choice-numbers" data-low="0" data-high="29" data-field="minutes"></div>
75 </section>
76 <section>
77 <h2>How many kills did you get?</h2>
78 <div class="choice-numbers" data-low="0" data-high="29" data-field="selfkills"></div>
79 </section>
80 <section>
81 <h2>How many kills did your squad get?</h2>
82 <div class="choice-numbers" data-low="0" data-high="29" data-field="squadkills"></div>
7583 </section>
7684 <section>
7785 <h2>Did you DC?</h2>