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.

Thursday, August 20, 2009

Sicbo Multi-Bets


Tonight I worked on implementing multibets, so that multiple people can bet on a single board. I added input elements to each board location to show the total amount of bets. I also plan to have some sort of display later that shows who exactly has bet on what. In the meantime however, I am almost ready to implement the payout functionality, and then clean up bugs.