def newPlayer(name, password):
    """Create player dict"""
    player = {'name':name,'password':password,'stats':{},'vars':{},'exp':0}

    player['stats']['health'] = 10
    player['vars']['health'] = 10

    player['stats']['attack'] = 1

    player['stats']['defense'] = 1
    player['vars']['defense'] = 0

    return player