def atari_name_cap(name):
    """
    Capitalize an Atari game name properly
    """
    name = name.lower()
    if name not in _ATARI_CAP_MAP:
        raise KeyError(name + ' is not a valid Atari game')
    return _ATARI_CAP_MAP[name]

    Capitalize an Atari game name properly
    
surreal/env/atari_names.py