Create playerBets function