Friday, August 21, 2009

Cron Task: Update Round Roll and Payouts

I have the script setup to allow updating a round roll using a cron task. This script has to do multiple things:
  1. Check for rounds that have ended.
  2. Figure out the applicable dice events.
  3. Determine the payouts for open bets.
  4. Update the user's purse accordingly <- Still left to do.

No comments: