Discounted and finitely repeated minority games with public signals