Skip to content

Instantly share code, notes, and snippets.

View Noxville's full-sized avatar
🎮
esports

Ben Steenhuisen Noxville

🎮
esports
View GitHub Profile
@Noxville
Noxville / 3958810354.log (open qualifiers 'CY6IXXCY6IXX')
Last active June 23, 2018 00:48
Various activations and deactivations of Atun's Armlet.
[00:25:11.086] npc_dota_hero_legion_commander uses item_armlet
[00:25:20.117] npc_dota_hero_legion_commander uses item_armlet
[00:25:25.449] npc_dota_hero_legion_commander uses item_armlet
[00:25:32.414] npc_dota_hero_legion_commander uses item_armlet
[00:25:37.246] npc_dota_hero_legion_commander uses item_armlet
[00:25:42.978] npc_dota_hero_legion_commander uses item_armlet
[00:25:51.842] npc_dota_hero_legion_commander uses item_armlet
[00:25:55.675] npc_dota_hero_legion_commander uses item_armlet
[00:26:04.139] npc_dota_hero_legion_commander uses item_armlet
[00:26:11.237] npc_dota_hero_legion_commander uses item_armlet
[Chat] @dogf1ghts: glhf
[Chat] mayday: glhf
[Chat] TheRightMoment: gl
[Chat] GOD/dog: ..
[Chat] GOD/dog: 不能用吹风。。
[Chat] AAA: 我吹线
[Chat] GOD/dog: 。。
[Chat] GOD/dog: 不能用得。
[Chat] @dogf1ghts: 规则说可以用啊 不吹人
[Chat] GOD/dog: 。/。
[
{
"time": 1168.103,
"tick": 36385,
"entity": 999,
"eindex": 999,
"type": "SENTRY",
"pos_x": 3671.3125,
"pos_y": 8420.8125,
"camp_blocked": "none",
AA -> 1229
ABB -> 311
ABA -> 291
1x Spell Snare (Modern Masters) - U - English - NM 4,50 EUR
4x Cathartic Reunion (Kaladesh) - C - English - NM 0,10 EUR
1x Canyon Slough (Amonkhet) - R - English - NM 1,99 EUR
4x Stinkweed Imp (Modern Masters) - C - English - NM 0,35 EUR
2x Scalding Tarn (Modern Masters 2017) - R - English - NM 54,98 EUR
1x Beast Within [Playset] (Duel Decks: Heroes vs. Monsters) - U - E... 6,79 EUR
4x Champion of the Parish (Innistrad) - R - English - NM 5,77 EUR
5x Fatal Push (Aether Revolt) - U - English - NM 6,38 EUR
1x Desert Cerodon [Playset] (Amonkhet) - C - English - NM 0,07 EUR
5x Kolaghan's Command (Dragons of Tarkir) - R - English - NM 14,99 EUR
[
"1": "Anti Mage",
"2": "Axe",
"3": "Bane",
"4": "Bloodseeker",
"5": "Crystal Maiden",
"6": "Drow Ranger",
"7": "Earthshaker",
"8": "Juggernaut",
"9": "Mirana",
time | killer | killee | match_id
-------------------+-------------+--------------+------------
-49.52126 | Nando | JerAx | 3357781916
-43.5893599999999 | GH.GOD | @dogf1ghts | 3352061045
-40.99 | Kim0 | j4 | 3353738510
-36.0578399999999 | Matthew | Ohaiyo | 3354162376
-33.5918 | Sam H | MATUMBAMAN | 3356044327
-27.7932000000001 | EternaLEnVy | Xxs | 3355853872
-23.6608699999999 | BurNIng | MiLAN | 3357890369
-19.8618 | EternaLEnVy | Inflame | 3354333670
#!/usr/bin/env python
import random
import csv
ITERATIONS = 10**5
NUM_SEATS = 100
_seats = {}
for i in xrange(NUM_SEATS):
_seats[i] = True
Each team blindly (as in, unknown to the enemy team) bans 3 maps for each series. There are 4 possible ways the overlap of banned maps can be:
0 map overlap:
* The only unbanned map is marked as map #1, kniferound for side selection.
* The loser of map #1 bans 1 map of the 6 unplayed maps.
* The winner of map #1 bans 1 map of the 5 unplayed/unbanned maps.
* The loser of map #1 bans 1 map of the 4 unplayed/unbanned maps.
* The winner of map #1 bans 1 map of the 3 unplayed/unbanned maps.
* The loser of map #1 picks map #2 (from the 2 unplayed/unbanned).
* (if a map #3 is required, they play the last unbanned/unpicked map)
import random
def num_in_team(ar, team_num):
c = sum(ar[5 * team_num: 5 * team_num + 5])
return c
def good(ss, gs):
ret = True
for t in xrange(6):
if num_in_team(ss, t) < 4: ret = False