added resources for player and ai