This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from functools import singledispatch | |
from typing import Any | |
from typing import Iterator | |
from typing import Mapping | |
from typing import Tuple | |
from typing import Union | |
d = {'a': 'b', 'the-list': [{'l1a': 'd', 'l1b': 'd2'}, {'l2': 'e'}], 'n1': {'n2': {'n3a': 'f', 'n3b': 'g'}}, 'bad-list': ['42']} | |
NOT_EXISTING_KEY = '😟' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var playerID; | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
playerID = robot.id; | |
//robot.clone(); | |
}; | |
Robot.prototype.onIdle = function(ev) { |