Dynamic reinforcement driven error propagation networks with application to game playing